find svn directories and remove them
June 17th, 2009
2 comments
find . -name ".svn" -print0 | xargs -0 -n 1024 -r rm -rf
-n prevents rm too many arguments error
-r prevents execution if none found (and prevents error!)
originally from:
http://www.commandlinefu.com/commands/view/902/delete-all-.svn-directories-from-current-path-recursive
Categories: General