How can I recursively delete all files & directories that match a certain pattern? e.g. remove all the \".svn\" directories and the files they contain?
If your files are in subversion, then doing an export from the repository will give you a directory tree with the .svn files and any other cruft removed.