×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: bejoy balan
Added: Sep 25, 2014 2:12 PM
Views: 1835
  1. Most versions of find have a delete action:
  2.  
  3. $ find /path/in/question -type d -name .svn -delete
  4. Make sure you run it without the delete and look over the results first!
  5.  
  6.  
  7. $ rm -rf `find . -type d -name .svn`