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

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>