[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: Bob Proulx <bob_at_proulx.com>
Date: 2006-05-28 00:38:54 CEST

Noah Slater wrote:
> >resolved. I used svn export which does work from a local copy.
> This would have worked also:
> $ find . | grep -E '/.svn$' | xargs rm -rf

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


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun May 28 00:39:56 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.