Unix
To remove all the .svn directories from the current folder downwards:
find . -name “.svn” -exec rm -rf {} ;
A safer version:
find . -name “.svn” -print0 | xargs -0 rm -Rf
Thanks to Colin for finding these, especially the safer one, for me on the Internet. Sorry I can’t acknowledge their sources, but I didn’t note where they came from.
categories: Nature and Science and Tech
tags: Colin, computing, top tips, Unix
last modified: 26th Oct 2011


