Recursively Remove .svn Directories

2012-02-26

Corrupted entries file? Yeah... LAME.

I ran the code below from a Windows .bat file within the directory I wanted to recursively remove .svn directories from.

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

...And here's the bash code to remove them in Linux:

rm -rf `find . -type d -name .svn`