Automator: How to unzip and delete downloaded .zip files?

Discussion in 'Mac Apps and Mac App Store' started by RolandNights, Aug 31, 2011.

  1. RolandNights macrumors 6502a

    Joined:
    Aug 8, 2011
    Location:
    California
    #1
    Hey guys,

    I have zero experience with Automator, but I was wondering if it could unzip and then delete .zip files I've downloaded off the internet. I do a lot of data transferring (pictures, music, etc.) that's always comes in .zip or .rar, and I end up deleting the compressed file anyway. How would I go about getting Automator to do this for me? Also, does it do it automatically or require doing something with Automator still? Also, if you have any other solutions I'm overlooking, I'd appreciate that as well.

    Thanks for any help.
     
  2. Nermal Moderator

    Nermal

    Staff Member

    Joined:
    Dec 7, 2002
    Location:
    New Zealand
    #2
    How are you downloading the files? Safari automatically unzips and deletes by default.
     
  3. RolandNights thread starter macrumors 6502a

    Joined:
    Aug 8, 2011
    Location:
    California
    #3
    It does? Mine doesn't do that! I just downloaded a few zip files and I still had to do it all manually.

    Edit note: I'm running Lion, fwiw.
     
  4. saberahul macrumors 68040

    Joined:
    Nov 6, 2008
    Location:
    USA
    #4
    Yup, doesn't "auto" do for me either. What it does do, however, is download the and automatically open them with The Unarchiver (as I have set it that way). This, in turn, does not delete the original zip file though.
     
  5. Nermal Moderator

    Nermal

    Staff Member

    Joined:
    Dec 7, 2002
    Location:
    New Zealand
    #5
    Hmm, now I need to find a zip file and test it to make sure that I'm not going crazy :eek:

    Edit: Nope, not going crazy. I'm running 5.1 on 10.6.8 and I have "Open safe files after downloading" turned on.
     
  6. RolandNights thread starter macrumors 6502a

    Joined:
    Aug 8, 2011
    Location:
    California
    #6
    OK, well I unchecked that box (it was already checked), restarted Safari, checked it, restarted, and it worked, and it worked. Thanks! .... BUT only for zip files. I tried it on .rar, and I guess it doesn't do it for that format. :(
     
  7. gcman96 macrumors newbie

    Joined:
    Sep 24, 2011
    #7
    I use Chrome and have no automator experience. Is there a way to do this?
     
  8. hdready macrumors newbie

    Joined:
    Mar 8, 2014
    #8
    I have worked out an easy way that is free & easy to implement. "The Unarchiver" has an option to delete archives after unarchiving, with Automator you can simply create a folder action that opens rar, zip & other file types you like in "The Unarchiver".

    Check out my SnapGuide here on how to do it:
    http://snapguide.com/guides/extract-delete-ziprar-files-with-mac-automator
     

Share This Page