Recursively remove all .svn directories: find . -name .svn -print0 | xargs -0 rm -rf The other way to do this: find . -name .svn -exec 'rm -rf {}\;'