Delete all ".svn" directories from current path (recursive)


/ Published in: Bash
Save to your folder(s)

-n prevents rm too many arguments error
-r prevents execution if none found (and prevents error!)


Copy this code and paste it in your HTML
  1. find . -name ".svn" -print0 | xargs -0 -n 1024 -r rm -rf

URL: http://www.commandlinefu.com/commands/view/902/delete-all-.svn-directories-from-current-path-recursive

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.