[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: Ryan Schmidt <subversion-2005_at_ryandesign.com>
Date: 2005-03-06 04:21:09 CET

On 05.03.2005, at 18:36, Simon Perreault wrote:

> On March 4, 2005 13:41, Jonathan Chum wrote:
>> I was wondering if there is a way to recusrively remove all .SVN
>> folders
>> without doing an export.
>
> rm -rf `find . -type d -name .svn`

Doesn't work so well when you have spaces anywhere in your paths.
Better:

find . -type d -name .svn -print0 | xargs -0 rm -rf

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Mar 6 04:23:40 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.