Recursively Delete “.svn” Folders
This script can recursively remove files, delete folders like “.svn”. I want to remove the “.svn” folders under each directory of my web project. This script will do this trick.
- Create a file and name it cleanSVN.sh
- In cleanSVN.sh, type in the folllowing
echo "Recursively remove .svn folders from"
rm -rf `find . -type d -name .svn`
- Save cleanSVN.sh to your web project folder. Open terminal, go to your web project folder then type:
Image Credit: Daniel Ng