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

Re: remove .svn entries

From: Joerg Hessdoerfer <Joerg.Hessdoerfer_at_sea-gmbh.com>
Date: 2004-09-07 21:00:19 CEST

Hi,

On Tuesday 07 September 2004 19:55, Ben Collins-Sussman wrote:
> On Tue, 2004-09-07 at 12:52, Eric Ocean wrote:
> > After checking out a working copy, I would like to strip the .svn
> > entries so that I can tar it up and send it to someone else. They don't
> > need those entries, and they're just taking up space.
> >
> > If there is a checkout option to do this, great.
>
> 'svn export' :-)
>
> > If not, what is the
> > command line to do this?
>
> find . -name '.svn' | xargs rm
>

Not to be too picky here, but this plain doesn't work for path's containing
spaces. In Linux, do

find . -iname '.svn' -print0 | xargs -0 rm

instead. (Just for the sake of being complete, that is).

Greetings,
 Joerg

-- 
Leading SW developer  - S.E.A GmbH
Mail: joerg.hessdoerfer@sea-gmbh.com
WWW:  http://www.sea-gmbh.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 7 21:01:33 2004

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.