Published in: Bash
URL: http://snippets.dzone.com/posts/show/2486
find . -name ".svn" -exec rm -rf {} \;
Comments
Subscribe to comments
You need to login to post a comment.
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.
yuconner on 08/23/07
3 people have marked this snippet as a favorite
Published in: Bash
URL: http://snippets.dzone.com/posts/show/2486
find . -name ".svn" -exec rm -rf {} \;
Subscribe to comments
You need to login to post a comment.
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/
Nice, I've been needing this for removing unwanted svn folders from old projects.