Tuesday 23 September 2014

SVN: delete all .svn (recursively)

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

Linux:
find . -type d -name '.svn' -print -exec rm -rf {} \;

No comments:

Post a Comment