Skip to content

How to remove .svn folders recursively?

| bash |

Validate the list of folders which will be removed:

$ find . -name .svn -exec ls {} \;

Run recursive remove:

$ find . -name .svn -exec rm -rf {} \;

This script is run from the current folder. Be sure you’ve specified find -name properly.

References