removing specific folders recursively in linux


/ Published in: Bash

following example code removes all ".svn" folders recursively


Copy this code and paste it in your HTML
  1. /* way 1 */
  2. rm -rf `find . -type d -name .svn`
  3.  
  4.  
  5. /* way 2 */
  6. find -name ".svn" -print0 | xargs -0 rm -rf

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.