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

Re: New vendor drops on vendor branch - but how?

From: Bob Proulx <bob_at_proulx.com>
Date: 2006-08-19 20:58:59 CEST

Gavin Lambert wrote:
> I haven't tried this myself (so try it without the 'rm' first to make
> sure it gives the right results!), but this ought to remove all files
> except for the .svn folders, starting from the current directory:
> find . | grep -v .svn | xargs rm -f

That find command with "grep" looks very suspicious to me. Perhaps
you wanted to suggest something like this instead?

  find . -type d -name .svn -prune -o -type f -print0 | xargs -r0 ls -ldog

And after inspecting for safety then replace the "ls -ldog" with "rm -f"?


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Aug 19 20:59:58 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.