2
by mhalcrow@us.ibm.com
Initial import of eCryptfs filesystem userspace utilities (mount helper, daemon component, |
1 |
#!/bin/sh
|
2 |
||
3 |
||
4 |
if scripts/validate-dir.sh; then |
|
5 |
echo "Validated directory; proceeding to delete files" |
|
6 |
else
|
|
7 |
echo "Directory not validated; aborting" |
|
8 |
exit 1 |
|
9 |
fi
|
|
10 |
||
11 |
rm -rf .git/ |
|
12 |
rm -rf .to_fold/ |
|
13 |
rm -rf rpm/ |
|
14 |
rm -rf src/test |
|
15 |
rm -f src/pki/Makefile |
|
16 |
rm -f src/include/Makefile |
|
17 |
rm -f src/libecryptfs/Makefile |
|
18 |
rm -f src/utils/Makefile |
|
19 |
rm -f src/daemon/Makefile |
|
20 |
rm -f src/Makefile |
|
21 |
rm -f Makefile |
|
22 |
rm -rf debian/ecryptfs-util |
|
23 |
rm -rf debian/ecryptfs-util-doc |
|
24 |
rm -rf src/testcases/cthon04 |
|
25 |
find . -name ".libs" -exec rm -rf {} \; |
|
26 |
find . -name ".deps" -exec rm -rf {} \; |
|
27 |
find . -name ".tmp_versions" -exec rm -rf {} \; |
|
28 |
find . -name ".jprobe*" -exec rm -rf {} \; |
|
29 |
find . -name ".test*" -exec rm -rf {} \; |
|
30 |
find . -name "*.ko" -exec rm -rf {} \; |
|
31 |
find . -name "*.o" -exec rm -rf {} \; |
|
32 |
find . -name "*.lo" -exec rm -rf {} \; |
|
33 |
find . -name "*.la" -exec rm -rf {} \; |
|
34 |
find . -name "*.orig" -exec rm -rf {} \; |
|
35 |
find . -name "*.mod.c" -exec rm -rf {} \; |
|
36 |
find . -name "*.symvers" -exec rm -rf {} \; |
|
37 |
find . -name "*~" -exec rm -rf {} \; |
|
38 |
find . -name ".[a-z]*~" -exec rm -rf {} \; |
|
39 |
find . -name "*.rej" -exec rm -rf {} \; |
|
40 |
find . -name "out.txt" -exec rm -rf {} \; |
|
41 |
find . -name ".dotest" -exec rm -rf {} \; |
|
42 |
find . -name "patches-*" -exec rm -rf {} \; |
|
43 |
find . -name "nohup.out" -exec rm -rf {} \; |
|
44 |
find . -name "cscope.out" -exec rm -rf {} \; |
|
45 |
find . -type d -name "gui" -exec rm -rf {} \; |