We Recommend

Version Control with Subversion Version Control with Subversion
Written by members of the Subversion open source development team, Version Control with Subversion introduces the powerful new versioning tool designed to be the successor to the Concurrent Version System or CVS. CVS users will find the "look and feel" Subversion comfortably familiar, but under the surface it's far more flexible, robust, and usable, and more importantly, it improves on CVS's more notable flaws.


Posted By

speck on 07/02/06


Tagged

svn delete subversion recursive


Versions (?)


Who likes this?

29 people have marked this snippet as a favorite

tylerhall
jonhenshaw
bomberstudios
xaviaracil
Roshambo
helle
toby
bartbons
mblarsen
Phoenix
duandan
hyperspace
Mikker
craiga
vali29
SamuelMiller
berkes
kristin
sp1r1t
tcol
martinkas
stphnclysmth
wbowers
melling
johnself
Tenzer
koncept
Mithun
Leech


Remove All .svn Directories


Published in: SVN 


Recursively removes all .svn directories within a directory

  1. find . -name .svn -print0 | xargs -0 rm -rf

Report this snippet 

Comments

RSS Icon Subscribe to comments
Posted By: Roshambo on July 26, 2006

Really useful.

Posted By: mountainash on January 5, 2007

Don't forget you can use the svn export command to make a copy of the repos without the .svn folders.

svn export repos/ destination/

Posted By: Mithun on September 6, 2008

Thank you

You need to login to post a comment.