rm -rf `find . -type d -name .svn`You can also make yourself a little bash script (called e.g. svnclear):
#!/bin/shecho "recursively removing .svn folders from"
pwdrm -rf `find . -type d -name .svn`via AnyExample
Update 04.05.2009:
As Isimonis pointed out in the comments, it is better to use a different approach if you have many files:
find $DIR -type d -name ".svn" -print0|xargs -0 rm -rfOr you can use the new options of newer "find" versions:
find $DIR -type d -name ".svn" -delete
