Tag Archives for unix

find and delete .svn project info using Terminal

Mac OS: Snow Leopard 10.6.5
Shell: bash

cd to the directory where you want to delete .svn folders; This will find & remove them, including subdirectories.

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

Back like, 100 years ago, when working @ a CGI company, it was the un-hippest thing in the world to be caught using the window manager, so everything was done via shell. It bums me out to admit how rusty my UNIX has gotten since; this line took me about 20 minutes of tooling around in the shell and online before it was working. oh well. Hopefully this post will save you 20 minutes.

27. March 2013 by admin
Tags: , , | Leave a comment