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

Re: Windows command to delete all .svn dirs

From: Brad Stiles <bradstiles_at_bellsouth.net>
Date: 2007-06-22 15:23:13 CEST

> I need to get rid of a gazillion little .svn directories in my (very
> large) project. Does anyone know of a Windows command to do it?

for /R %v in (.svn) do if exist %v rd %v /s/q

If you're trying to do it from a batch file, you'd use:

for /R %%v in (.svn) do if exist %%v rd %%v /s/q

You can leave off the "if exist" test if you want, but you'll get a bunch of "file not found" errors.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jun 22 15:23:34 2007

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.