Skip to content

Instantly share code, notes, and snippets.

@nebiros
Created June 13, 2010 19:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nebiros/436939 to your computer and use it in GitHub Desktop.
Save nebiros/436939 to your computer and use it in GitHub Desktop.
Remove .svn folders on *nix and windoze
FOR /F "tokens=*" %G IN ('DIR /B /AD /S *.svn*') DO RMDIR /S /Q %G
#!/bin/sh
echo "recursively removing .svn folders from"
pwd
rm -rf `find . -type d -name .svn`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment