Recursively Delete .svn Directories

I was cleaning up two of my systems and I needed to move certain Subversion Projects from one SVN Server to another. I wanted a clean copy of the trunk and didn’t want to include the old SVN infrastructure. I found this great page that gives you one command to clean out the .svn folders.

$ rm -rf `find . -type d -name .svn`

The page I found this on has a great explanation.
http://www.anyexample.com/linux_bsd/bash/recursively_delete__svn_directories.xml

Leave a Reply

Your email address will not be published. Required fields are marked *