Showing posts with label remove all .svn folders. Show all posts
Showing posts with label remove all .svn folders. Show all posts

Tuesday, November 11, 2014

Remove all .svn folders recursively

For my reference...

To remove all .svn folders from your project, we can run the following command from the root of the folder.

FOR /F "tokens=*" %G IN ('DIR /B /AD /S *.svn*') DO RMDIR /S /Q "%G"

References:
http://stackoverflow.com/questions/4889619/command-to-recursively-remove-all-svn-directories-on-windows
http://blog.falafel.com/recursively-delete-svn-directories-with-the-windows-command-line/