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 http://www.lingr.com/room/3yXhqKbfPy8, where Zed, the developer, hangs out.

[tags]unix,subversion,snippets[/tags]

About Olle Jonsson

Developer, born in '77. Wears glasses and often a smile.
This entry was posted in Technology and tagged , , . Bookmark the permalink.
blog comments powered by Disqus