Two Useful .svn Bash Scripts
1. Remove all files except .svn
This is used when your development version is not under source control directly, but copy and paste current development version into source control.
find . –type f \! –path \*/\.svn/\* | xargs rm
2. Remove all .svn files
This is used when you try to get a clean copy from your local svn controlled source code, you can also achieve this by export current svn repository
find . –name .svn | xargs rm –rf
Tags: bash

find can exec a command too!
find . -name ".svn" -exec rm -rf {} \;