Howto remove all the .svn directories in the local working copy from the command line

If you’d like to remove all the .svn directories in your local SVN working copy from the command line and for example your local working copy is in the directory /svn-co-work-copy, then you could issue the following two commands:

cd /svn-co-work-copy
rm -rf `find -type d -name .svn`
Advertisements
This entry was posted in Linux and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s