[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: Jeremy Pereira <jeremy.pereira_at_ntlworld.com>
Date: 2004-09-19 01:33:39 CEST

On Sep 13, 2004, at 07:07, Ph. Marek wrote:

>>> 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).
>>
>> Not to be *too* picky, but .svn is likely to be a (non empty)
>> *directory*.
>> find . -iname '.svn' -print0 | xargs -0 rm -rf
>
> "Not to be *too* picky" :-), but I'd suggest even
>
> find . -name '.svn' -type d -exec rm -rf {} \;
>

Not to be *too* too picky :-) , but this is my preferred method too,
except it broke when I tried it on a path containing spaces which was
the point of the post I was replying to.

>
> Regards,
>
> Phil
>
>

--
Jeremy Pereira
http://www.jeremyp.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Sep 19 01:34:17 2004

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