2008-10-10

How to delete all .svn directories in a Subversion folder

Messed up with Subversion and want simply a clean restart? You can have a clean slate by executing this command which is actually a one-liner shell script
find . -name ".svn" -type d -exec rm -rf {} \;
in the directory you want to clean from Subversion folders containing its metadata by deleting all directories named ".svn".