Posted By

sabanulutas on 11/14/11


Tagged

folder recursive remove linux ubuntu


Versions (?)

removing specific folders recursively in linux


 / Published in: Bash
 

following example code removes all ".svn" folders recursively

  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  

You need to login to post a comment.