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

Re: BDB vs. FSFS

From: Raye Raskin <rayer_at_pobox.com>
Date: 2004-10-19 19:56:39 CEST

----- Original Message -----
From: "Hakan Koseoglu" <hakan.koseoglu@pcmsgroup.com>
To: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
Cc: <users@subversion.tigris.org>
Sent: Tuesday, October 19, 2004 4:33 AM
Subject: Re: BDB vs. FSFS

>> > $ find . -type d -exec rm -rf {} \;
>> Aii, this is what happens when you don't read your own commands, what
>> i meant was of course:
>> $ find . -type d -name '.svn' -exec rm -rf {} \;
> I find this method faster:
> find . -type d -name '.svn' | xargs rm -rf

I agree. As I recall, using -exec causes a new rm process to
be started for each rm invoked -- much slower than with xargs.

Also, I would suggest the following:

  find . -type d -name '.svn' > foo

  take a look inside foo with your favorite editor...
  edit as necessary, JUST to be safe...

  cat foo | xargs rm -rf

It's just too easy to get burned with rm -rf.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 19 19:57:31 2004

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