01 November 2011

How to delete .svn folders

To delete Subversion folders in a directory structure, create a batch file in the root folder and enter the following:

for /f "tokens=* delims=" %%i in ('dir /s /b /a:d *svn') do (
  rd /s /q "%%i"
)

To create the file: in Explorer right click, select New, Text Document then rename from .txt to .bat

Then save and run it.

No comments:

Post a Comment