-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathcleanrepo
executable file
·29 lines (27 loc) · 999 Bytes
/
cleanrepo
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash
find -name "Makefile.in" -exec git rm -r '{}' \;
find -name "m4" -exec git rm -r '{}' \;
find -name "configure" -exec git rm -r '{}' \;
find -name "compile" -exec git rm -r '{}' \;
find -name "install-sh" -exec git rm -r '{}' \;
find -name "ltmain.sh" -exec git rm -r '{}' \;
find -name "missing" -exec git rm -r '{}' \;
find -name "COPYING" -exec git rm -r '{}' \;
find -name "NEWS" -exec git rm -r '{}' \;
find -name "depcomp" -exec git rm -r '{}' \;
find -name "AUTHORS" -exec git rm -r '{}' \;
find -name "INSTALL" -exec git rm -r '{}' \;
find -name "aclocal.m4" -exec git rm -r '{}' \;
find -name "Makefile.in" -delete
find -name "configure" -delete
find -name "compile" -delete
find -name "install-sh" -delete
find -name "ltmain.sh" -delete
find -name "missing" -delete
find -name "COPYING" -delete
find -name "NEWS" -delete
find -name "depcomp" -delete
find -name "AUTHORS" -delete
find -name "INSTALL" -delete
find -name "aclocal.m4" -delete
find -name "m4" -exec rm -rv {} \;