Recursively remove .svn directories

NOTE: Check the comments for variable solutions for this predicament. Thanks to everyone for participating!

Sometimes you find yourself in situations where svn cleanup just doesn’t cut it — you need to remove the .svn files and re-add everything. It’s a pain to do that file by file so here’s a little method for doing it all at once.

[bryan@crainbandy] rm -rf `find . -type d -name .svn`

UPDATE (via comments, thanks meinholz) alternatively you can do:

[bryan@crainbandy] find . -type d -name .svn -exec rm -rf {} \;

Don’t say I didn’t tell you.
Bryan