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]

This entry was posted in Technology and tagged , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.
blog comments powered by Disqus