[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Cleaning up .svn directories

From: Ryan Schmidt <subversion-2005_at_ryandesign.com>
Date: 2005-04-27 18:08:17 CEST

On 26.04.2005, at 18:35, André Pönitz wrote:

> Sebastien Arbogast
>> Is there a mean to clean up .svn directories in all subdirectories of
>> a checked out directory ?
>
> Some variation on
>
> find /your/working/copy -type d -name .svn -exec rm -rf {} \;
>
> should do the trick.

I like using this:

find /your/working/copy -type d -name .svn -print0 | xargs -0 rm -rf

That works even if you've got spaces in your paths.

Presumably you could also do an svn export.

\r

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 27 18:36:54 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.