3 echo ------------------------------------
4 echo Running Cleanup Script
5 echo ------------------------------------
7 find .
-depth -type d
-name .svn
-exec rm -fr {} \
;
8 find .
-type d
-exec chmod 775 {} \
;
9 find .
-type f
-name "*.*~" -exec rm -fr {} \
;
10 find .
-type f
-name "*.php" -exec chmod -x {} \
;
11 find .
-type f
-name "main.php" -exec chmod +x
{} \
;
13 rm -fr release-cleanup.sh
15 echo ------------------------------------
17 echo ------------------------------------