Recursively delete .svn directories

Written by Peter Davies on .

The fastest way I have found of finding (and then deleting) .svn directories is to run the following:

find /home/domain/public_html -type d -name .svn

And if you need to delete the found lines use:

find /home/domain/public_html -type d -name .svn -exec rm -rf {} \;