forked from firebreath/firebreath-boost
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cleanup.sh
executable file
·32 lines (29 loc) · 1.14 KB
/
cleanup.sh
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
30
31
32
#!/bin/bash
find . -type d | grep doc$ | xargs rm -Rf -v
cd libs
find . -type d | grep test$ | xargs rm -Rf -v
find . -type d | grep example$ | xargs rm -Rf -v
find . -type d | grep examples$ | xargs rm -Rf -v
find . -type d | grep tools$ | xargs rm -Rf -v
find . -type d | grep build$ | xargs rm -Rf -v
find . -type d | grep tutorial$ | xargs rm -Rf -v
find . -type d | grep proj$ | xargs rm -Rf -v
find . -type d | grep perf$ | xargs rm -Rf -v
find . -type d | grep vc7ide$ | xargs rm -Rf -v
find . -type d | grep util$ | xargs rm -Rf -v
find . -type d | grep performance$ | xargs rm -Rf -v
find . -type d | grep book$ | xargs rm -Rf -v
find . -type d | grep preprocessed$ | xargs rm -Rf -v
cd -
find . | grep .html$ | xargs rm -Rf -v
find . | grep .css$ | xargs rm -Rf -v
find . | grep .htm$ | xargs rm -Rf -v
find . | grep .gif$ | xargs rm -Rf -v
find . | grep .txt$ | xargs rm -Rf -v
find . | grep .jpg$ | xargs rm -Rf -v
find . | grep .png$ | xargs rm -Rf -v
find . | grep .zip$ | xargs rm -Rf -v
find . | grep .py$ | xargs rm -Rf -v
find . | grep sublibs$ | xargs rm -Rf -v
find . | grep Jamroot | xargs rm -Rf -v
find . -type d -empty | xargs rm -Rf -v