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
Written by jay mabazza
Related protips
1 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
Best
#Php
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#