-
Recursivly delete .svn from your directories
Posted on July 28th, 2009 1 commentA pretty simple tip that can save you a lot of time if you use revision control systems.This command can be used to remove the .svn folder that is used and placed within every folder to control your versioned files.
rm -rf `find . -type d -name .svn`
Simply run this command on the command line in the top level of the directory you want to remove the folders from. This will go down through all the folders in the directory and delete all the .svn folders.
Note: This will only work on Unix based systems or with Cygwin
One response to “Recursivly delete .svn from your directories”
-
This is useful if your svn working copy is corrupted or you have a lot of unversioned files, but if that’s not the case you should export the working copy into a new directory.
http://svnbook.red-bean.com/en/1.5/svn.ref.svn.c.export.html
Leave a reply
-
©2009 Strotos Communications


