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/

No comments:

Post a Comment