Posted By

traeregan on 10/19/09


Tagged


Versions (?)

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


 / Published in: Bash
 

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

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

  1. find . -name ".svn" -print0 | xargs -0 -n 1024 -r rm -rf

Report this snippet  

You need to login to post a comment.