Last Updated: February 25, 2016
·
1.275K
· 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 {} \;

Delete

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 ·

Have a fresh tip? Share with Coderwall community!

Post
Post a tip
Did you know?

PHP applications still send a browser full of JavaScript. Hardening the server does not inventory the payment, analytics, and plugin scripts that run after the HTML is delivered.

Security insights from Cside