My Science Is Better

19Jan/100

Remove .svn folders recursively

I know that you have to use svn export in order to get a copy of the repo without the .svn folders inside, but sometimes you have to work with what you have, a checkout of a repo with .svn folders. And you want them removed.

After googling a bit i found a great way to recursively remove .svn folders. Just type the following while in the root of your checkout:

rm -rf `find . -type d -name .svn`

This tip was found on http://www.anyexample.com/linux_bsd/bash/recursively_delete__svn_directories.xml

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


No trackbacks yet.

Tag Cloud

Categories

Archives

Akismet

Blogroll

Ads