SVN Folder Cleanup with Automator

Once again today I downloaded a directory of classes, popped them into a project I had under SVN control and got loads of SVN related errors due to the supplier of the classes including all their .svn files with source.

I saw a cool Automator action (copied and thanks to team bkwld, I just just added Growl support instead of a text file dump) which will remove all the .svn files from a folder and its nested directories. It can be run by right clicking the folder you need to cleanup > More > Automator > ClearSVN.

Put the automator plugin into:

/Volumes/Users/{your home dir name}/Library/Workflows/Applications/Finder/

clearsvn workflow

This entry was posted in Automator Scripts, Mac OS X, SVN and tagged , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

3 Comments

  1. Posted June 12, 2009 at 10:42 pm | Permalink

    that one line in the terminal rm -rf `find . -type d -name .svn`

  2. Posted June 12, 2009 at 10:47 pm | Permalink

    Yup, but just a nice little alternative to opening Terminal each time. Just another option ;)

  3. Posted June 23, 2009 at 9:48 am | Permalink

    Great tool! Thanks!

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

  • FreeAgent sign-up


  • Recent Posts

  • Categories