by thebeebs
3. November 2009 03:15
If you need to quickly remove all the svn folders in a directory tree to get a nice clean directory simply open cmd, navigate to the route and then run:
for /f "tokens=* delims=" %%i in ('dir /s /b /a:d *svn') do ( rd /s /q "%%i" )[source]
I’ve created a little bat file (well actually my colleague Lee did it) and put it below. You can drop this into the root of the folder double click it and volia you’ll be rid of those SVN folders.
Download the bat file here