Recursively remove Subversions .svn folders

To remove all the sometimes pretty annoying .svn folders here are some very helpful lines of code.

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

Just place the above lines into a file called removeSvn.cmd, place it into the polluted folder and then run it. Done.

Another resources on this topic:

About Sven Lange

I am a software engineer at Orientation in Objects in Mannheim (Germany) whose scope is mainly on web development related stuff.
This entry was posted in Lessons Learned and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>