Posted By

chrisaiv on 10/16/10


Tagged

svn Shell find


Versions (?)

SVN: Remove all .svn folders in a directory tree


 / Published in: Bash
 

URL: http://snippets.dzone.com/posts/show/2486

You did a checkout when you really wanted to do an export. Now there are tons of .svn folders in your project, and you need them to go away. Shell scripting to the rescue.

  1. find . -name ".svn" -type d -exec rm -rf {} \;

Report this snippet  

You need to login to post a comment.