How to delete an .svn folder from all subdirectories

It is very easy to make mistakes when using subversion and trying to copy folders to different locations. Any .svn directories in the wrong place will have unexpected consequences. This is how you can delete all .svn directories recursively on your macos or linux system:

find . -name .svn -exec rm -rf {} ;

Leave a Reply

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