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.

Niklas Tech Blog
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.