The do's, do not's & maybe's of Computers.
RSS icon Email icon Home icon
  • Recursivly delete .svn from your directories

    Posted on July 28th, 2009 david 1 comment

    A 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 :)

Disclaimer: All information published on this website is for knowledge purposes only. This website and the author's of it's content cannot be held responsible for any loss/damage to a user's computer (either software or hardware), which may have occurred as a result of the information posted above. All information published on this website is the expressed opinion of it's authors. This information is provided as is with no acknowledgement of responsibility, liability or guilt for any damage resulting from it's use.
©2009 Strotos Communications