[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: Hakan Koseoglu <hakan.koseoglu_at_gmail.com>
Date: 2005-04-28 01:02:18 CEST

> The first method (find /your/working/copy -type d -name .svn -exec rm -rf {}
> \;) saves one extra pipe and one process.
Piping the output helps if you also want to translate spaces to "\ "
(i.e., sed s#\ #\\\ #g) on the fly, assuming you have people creating
files with spaces in it (what's_wrong_with_underscores_?). :) I don't
know how to do it inside the find -exec so I prefer piping it.

-- 
Hakan (m1fcj)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 28 01:52:45 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.