Recursively delete all .svn folders
Needed to quickly delete all .svn folders and files within them from a machine where svn client was not setup.
Here’s how:
#!/bin/sh
echo "recursively removing .svn folders from"
pwd
rm -rf `find . -type d -name .svn`
Taken from: Any Example
Related posts:
- Recursively unlock files on Mac OS X I copied some songs from a CD and ended up...
- Finding number of lines in files recursively I wanted to find the number of lines from a...

One more way:
find . -type d -name ‘.svn’ -exec rm -rf {} \;
shashi
5 Sep 07 at 11:10 pm
Single quote is not working on Linux
find . -type d -name ‘.svn’ -exec rm -rf {} \;
The right way is:
find . -type d -name “.svn” -exec rm -rf {} \;
Sanjay
2 Jan 08 at 2:34 pm