Unix

To remove all the .svn directories from the current folder downwards:

find . -name “.svn” -exec rm -rf {} ;

A safer version:

find . -name “.svn” -print0 | xargs -0 rm -Rf

Thanks to Colin for finding these, especially the safer one, for me on the Internet. Sorry I can’t acknowledge their sources, but I didn’t note where they came from.


Will you be the first person to respond?

Leave a Reply

or use a social network to log in