[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: Jonathan Chum <jchum_at_aismedia.com>
Date: 2005-04-27 19:48:50 CEST

The first method (find /your/working/copy -type d -name .svn -exec rm -rf {}
\;) saves one extra pipe and one process.

Jonathan Chum
Systems Developer

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AIS Media, Inc. - "We Build eBusinesses"
7000 Central Parkway, Suite #1700
Atlanta, GA 30328
Tel: 770.350.7998 ext. 505 / Fax: 770.350.9409
http://www.aismedia.com / jchum_at_aismedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

-----Original Message-----
From: Ryan Schmidt [mailto:subversion-2005@ryandesign.com]
Sent: Wednesday, April 27, 2005 12:08 PM
To: André Pönitz
Cc: Sebastien Arbogast; Subversion List
Subject: Re: Cleaning up .svn directories

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 27 20:23:35 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.