Remove .svn directories from a working copy linux then copy new .svn copies back to it.

Written by James McDonald

May 18, 2012

Warning: This is a procedure that can bork your working copy. Backup and test to make sure you can recover before you even think about doing this.

Regarding this post:

Quickly remove .svn directories from a working copy linux
cd /to/svn/working/copy/dir

find . -type d -name .svn | xargs rm -rf

Checkout a fresh copy of the working copy somewhere else.

cd $HOME

svn co http://yourreposserver/path/to/squid

cd squid
find . -type d -name .svn | xargs -ISVN cp -arv SVN /etc/squid/SVN


Submit a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.

You May Also Like…

Meraki Open Source Licenses

Until today I assumed that Meraki was built in-house with only closed source software. But having a look at the...


If you have Veeam backup failing with the Updating BCD failed with Cannot update SafeBoot flag and SentinelOne is...