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

Re: removing .svn files from local copy

From: Matt Doran <matt.doran_at_papercut.biz>
Date: 2006-05-28 03:49:24 CEST

That works. But the 'find' way of doing this is cleaner.
> find . -name .svn | xargs rm -rf
>
> I almost always use zero terminated strings with find and xargs.
>
> find . -name .svn -print0 | xargs -r0 rm -rf
>
>
>

Or an even more findy way to do it ...

    find . -name .svn -exec rm -rf {} \;

;)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun May 28 03:50:25 2006

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.