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


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.