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 -RfWritten 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
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
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#