removing .SVN directories recursively

I have been working a lot lately using SubVersion ‘s to maintain all the projects that I and some times others are all working on.

A firm that I contract to has recently set up a SVN Server on a dedicated machine with ActiveCollab and Versions to manage our projects. This means that we have versions and versions of manageable projects.

Today, I pulled down a part of a project to use inside another project, but the directories still contained the .svn data from the original project.

So here is a quick command to strip out all the .svn data from a project.

rm -rf `find . -name .svn`