Simple AIR tool to recursively delete .svn folders

Subversion is probably the best versioning and source control software out there. While you're working with a Subversion client (like Tortoise SVN, Subclipse or whatever), little hidden folders named ".svn" are being created and maintained in every single folder of your project. Needless to say that in projects with tons and tons of package folders, you end up with a whole lot of .svn folders.

Anyway, in some cases you might want to have all that meta data removed from your project. I won't go into possible reasons why you might want to do this and neither am I going to dive into the fact that generally it's advisable not to start messing around in those meta data folders... Other people can explain this way better than me (which most people do.... about most things ;-) ).

Cleaning all those folders manually may be a very long and tedious job. You can write a shell script to get the job done or use this overly simple AIR application (which I gave the funny name "SubSweep"). If you don't trust the thingy, check out the source code first (you see, no worries :-) ).

Please note that in Subclipse there's an option to export your project without the meta data folders. And you can remove the svn folders from a local version of your project with Subclipse by chosing Team > Disconnect.

This entry was posted in tools. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

7 Comments

  1. Posted August 22, 2008 at 11:09 pm | Permalink

    nice, though i wouldn’t install a software just to delete some files.
    i’d use Total Commander ;)
    alt-F7 -> ‘feed to listbox’ -> ctrl-A -> delete

  2. Posted September 4, 2008 at 9:06 am | Permalink

    Hans, you just saved my day! :)

  3. Posted December 23, 2008 at 2:54 pm | Permalink

    Thanks a lot!!!

  4. Posted April 17, 2009 at 3:26 pm | Permalink

    Why not just use the “export” method of svn which exports a clean .svn-less version of the directory?

  5. Posted April 17, 2009 at 8:24 pm | Permalink

    @reyco1: certainly, but in some cases your SVN metadata might become corrupted, moved by mistake, etc… and then you need to be able to clean the folder that got messed up. I’ve witnessed that especially people relatively new to Subversion have a tendency to mess up SVN’s metadata :-)

  6. Posted June 15, 2009 at 8:18 am | Permalink

    Thank you!

    I needed that, this will save me sooo much time!!

    Well done!

    Ariel
    PayPerBlog.com

  7. Posted April 23, 2010 at 12:47 am | Permalink

    Hey Hans,

    Althoug there are many tools out there capable of doing file/folder editing I realy like your AIR app subsweep.
    I have a feature request though ;) . Would it be possible, AIR being popular for it’s drag/drop functionality, to build in functionality where a user can drop in the folder that needs “subsweeeping”?

    I thought about building something like you build thousand times but my time gets swallowed up by other projects, of which I am sure you will recognize.

    To give something in return and hope that it might come in handy, I want to send you a little air app I wrote for overlaying designers jpg’s to check with your development. Let me know your email and I will send it to you if you are interested.

    Thanks for subsweep anyway ;)

    Cheers
    Eel

2 Trackbacks

  1. [...] The link to the post: http://www.novio.be/blog/?p=153 [...]

  2. By battieezhanatham.com on April 22, 2010 at 5:36 pm

    Air Tools Tips…

    The light is NT50AE2 Hitachi 2 inch of 18 gauges Brad Mailer end of this document small wood working projects. Viewed in the heart of high capacity, Lana ventilation, integration of perimeter of simple removable drive and nose, as a longer term, this i…

Post a Comment

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

*
*