Tuesday, August 27, 2013

How to remove .svn folders recursively?


Validate the list of folders which will be removed:
$ find . -name .svn -exec ls {} \;

Run recursive remove:
$ find . -name .svn -exec rm -rf {} \;
This script is run from the current folder.  Be sure you've specified find -name properly.


References:

No comments:

Post a Comment