Remove all .svn folders from a project

I needed this to “force” a new import into my subversion repository from Netbeans (v7.0) which only shows that option if there are no .svn folders in the project. Here is how I removed all the folders:

find /path/to/project -name ".svn" | xargs rm -rf

This will first find all files in the project named “.svn” and then delete them with the rm -rf command

Comments are closed.