29 Nov 2007, 12:31pm
/dev/random
by

Comments Off

Remarkably Useful Shell Script

You want to find and delete all files or directories matching a specific name from a directory tree (in this case, .svn directories that shouldn’t be in the ‘exported’ version):

find . -name ".svn" -exec rm -rf {} \;

(Thanks to Zed Shaw, circuitously via dzone.com)