Posted By

meinhard on 04/15/08


Tagged

svn Bash delete remove find


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

m00min
meinhard
benpjohnson


Recursively remove .svn directories


 / Published in: Bash
 

Execute this to remove the .svn directory from the current directory and all sub directories

  1. find . -regex '.*.svn' -exec rm -rf "{}" \;

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: Tenzer on April 15, 2008

This has already been posted, in a little different version though: http://snipplr.com/view/5658/remove-svn-files-from-a-directory-structure/

Posted By: pitje on July 22, 2009

omg, here's another one: rm -rf find . -type d -name .svn

You need to login to post a comment.