Last Updated: February 25, 2016
· jaymabazza

Remove SVN from your project

Say, you're moving to git and you want to remove all Subversion (SVN) traces on your project. You can do this by deleting all .svn folders on your directory but the problem is, every single subdirectory has their own .svn folder.

We can accomplish this by running find then recursive rm -rf.

Identify if your directory has .svn

find . -name .svn -exec ls {} \;


find ./ -name ".svn" | xargs rm -Rf

1 Response
Add your response

You can also use this:
find . -name .svn -exec rm -rf {} \;

over 1 year ago ·