Recursively remove .svn directories from your project

Occasionally I find .svn directories in my old projects that are not in Subversion.? The quickest way to recursively remove them is to run the following command:

find . -name .svn -print0 | xargs -0 rm -rf

You need to cd into your project directory before running it.

You can also run the command to quickly disconnect your project from Subversion.