Today I found myself needing to delete a .svn directory from a Radiant CMS extension I wanted to use (the developer left them in the download, tsk tsk). Anyway, I didn’t want to traverse all of the folders myself, so I found this nifty article over at IBM that gave me what a wanted, which was this:
find . -name .svn -ok rm {} \;
That’s a good one, I found a command a while back that did something similar:
rm -rf `find . -type d -name .svn`
same thing :)
Cool. I love how there’s so many different ways to do thins on *NIX. I’ll just add this one to my bag of tricks!