We Recommend

bash Cookbook: Solutions and Examples for bash Users bash Cookbook: Solutions and Examples for bash Users
bash Cookbook teaches shell scripting the way Unix masters practice the craft. It presents a variety of recipes and tricks for all levels of shell programmers so that anyone can become a proficient user of the most common Unix shell -- the bash shell -- and cygwin or other popular Unix emulation packages.


Posted By

yuconner on 08/23/07


Tagged

svn admin


Versions (?)


Who likes this?

3 people have marked this snippet as a favorite

jonhenshaw
cbrant
yuconner


Remove all .svn folders in a directory tree


Published in: Bash 


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

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

Report this snippet 

Comments

RSS Icon Subscribe to comments
Posted By: tylerhall on August 23, 2007

And here's a Finder plugin that will let you right-click and remove .svn files from a folder.

http://sitening.com/blog/2007/04/03/os-x-finder-plugin-to-remove-svn-directories/

Posted By: jonhenshaw on August 23, 2007

Nice, I've been needing this for removing unwanted svn folders from old projects.

You need to login to post a comment.