Skip to content

Instantly share code, notes, and snippets.

@toamitkumar
Created April 18, 2011 18:10
Show Gist options
  • Save toamitkumar/925831 to your computer and use it in GitHub Desktop.
Save toamitkumar/925831 to your computer and use it in GitHub Desktop.
Find all the .svn directories:
$ find . -type d -name .svn
./.svn
./directory_1/.svn
./directory_2/.svn
./directory_3/module/.svn
./directory_4/.svn
.......
You can pass the output of the find command to "rm" :
$ rm -rf `find . -type d -name .svn`
Bingo !!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment