Delete .svn folders in OS X

I was working on a project and had copied a directory. I ended up with a Subversion issue because the original directory (and its subdirectories) were under version control. To clean things up, I needed to delete the .svn directories in my new directory and its subdirectories. Here are the steps I took to do so:

Use the find command to locate the .svn directories in the current directory and its subdirectories.

Find the .svn directories

Find the .svn directories

Remove all of the .svn directories by piping the output of the find command to the rm command.

Remove the .svn directories

Remove the .svn directories

Use the find command once again to verify the .svn directories have indeed been removed.

Confirm the .svn directories are gone

Confirm the .svn directories are gone

0 comments ↓

There are no comments yet...Kick things off by filling out the form below.