Snippet: remove .svn directories

Snippet to recursively drop Subversion control of a directory. It removes the .svn directories, and their contents.

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

Credit: Zed Shaw, at the Mongrel mailing list.

(Note to contemporary readers: Crazy old info) Oh, and if you are using Mongrel, and need help with it, there is a new chatroom at, where Zed, the developer, hangs out.


Published by Olle Jonsson

Human. Wears glasses and often a smile.

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.