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

Re: Removing .SVN administrative folders within a working copy

From: Helge Jensen <helge.jensen_at_slog.dk>
Date: 2005-03-07 10:28:07 CET

> ... or yet another alternative which will safe you one pipe and one process:
>
> find . -type d -name .svn -exec rm -rf "{}" \;

Last i tried it find executed the command in -exec once for every match,
so this would save one pipe and cost (roughly) N-2 forks with rm,
compared to the "find PRED -print0 | xargs -0 rm -rf" solution.

You can check my assumption by doing:

   find PRED -exec echo \;

vs.

   find PRED -print0 | xargs -0 echo

-- 
Helge
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Mar 7 10:30:43 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.