Extracting multiple zip archives into one folder

Discussion in 'Mac / Hackintosh' started by iownu1000, Oct 17, 2013.

  1. iownu1000

    iownu1000 Noisemaker

    Joined:
    Dec 10, 2011
    Messages:
    106
    Likes Received:
    3
    Hey guys hows it going?

    i'm wondering if anybody knows a program or method to extract those archives that unzip to 50 different zip files and when you extract individually go into different folders. I always have to drag the parts out of all the folders and put them into one folder to be able to extract. SO tedious! I've had this problem for a long time, and tried mannnny zip programs but haven't found a viable solution?

    Anybody know of a program that can put all these files into one folder, so i dont need to drag and drop them all? Preferably a free solution...or one that can be

    This would help me soooo much and i would appreciate a solution a lot!

    Thank you. :wink:
     
  2.  
  3. korgrog

    korgrog Member

    Joined:
    Sep 13, 2011
    Messages:
    178
    Likes Received:
    7
    use winrar or 7-Zip select them all then tell it where to extract too
     
  4. SillySausage

    SillySausage Producer

    Joined:
    Jul 7, 2012
    Messages:
    2,611
    Likes Received:
    134
    Location:
    Uranus
    Usually the first rar will enable you to extract the whole. Depending on what you are extracting scene releases are usually double packed. Unrar and then find the first new rar file and extract the files from there
     
  5. Catalyst

    Catalyst Audiosexual

    Joined:
    May 28, 2012
    Messages:
    5,810
    Likes Received:
    802
    The only program you need is called logic and reasoning. Simply use whatever application you're using and extract to the same folder. And this question has been asked at least a million times, please search before posting a repeat.
     
  6. franknitty69

    franknitty69 Newbie

    Joined:
    Feb 24, 2013
    Messages:
    116
    Likes Received:
    2
    i use stuffit, but it isn't smart enough to handle multiple zip files. the best way i have found has been to use terminal.

    1. Open Terminal and navigate to the directory where all the zip files are stored.
    cd “/Users/nyce/Downloads/zips” [Return]

    2. Once your in that directory you just need to type this:
    unzip \*.zip
    then hit [Return]

    3. You will then be presented (if there are any duplicate files being uncompressed) with the following:
    replace duplicatefile.txt? [y]es, [n]o, [A]ll, [N]one, [r]ename:

    4. Just type either ‘y‘, ‘n‘, ‘A‘, ‘N‘, or ‘r‘ and hit [Return]
     
  7. thisis theend

    thisis theend Member

    Joined:
    Jul 28, 2013
    Messages:
    435
    Likes Received:
    7
    I made a workflow in Automator for this just because it's such a boring process to repeat.
    So after just one click it automatically runs all the following actions:
    1) Opens all the zips within a folder (this results in a bunch of subfolders with one rar part in each).
    2) Moves all the rar files from those subfolders into a new folder.
    3) Opens the rar archive in the new folder.

    Automator is great to use for all such repetitious tasks.
     
  8. Lead

    Lead Newbie

    Joined:
    May 21, 2013
    Messages:
    2
    Likes Received:
    0
    Hi thisis theend, can you give some more details on your automator workflow? I thought of doing something like this, but I realized I'm not strong enough with automator stuff.
    Thanks in advance
     
  9. thisis theend

    thisis theend Member

    Joined:
    Jul 28, 2013
    Messages:
    435
    Likes Received:
    7
    Hi Lead,

    Yeah, Automator can seem a bit weird, but it's pretty easy once you get started - which is lucky for guys like me who don't know squat about programming :)
    So if you want I can list step by step what I did, but it will be later this evening since I gotta head off to work now :snuffy:
     
  10. iownu1000

    iownu1000 Noisemaker

    Joined:
    Dec 10, 2011
    Messages:
    106
    Likes Received:
    3
    I understand how to extract 98% of packages, I'm not a noob, i've used plenty of packages. I'm talking about the few that come with many different zip files that when you open unzip to individual folders with 00 01 02 03 inside them and i have to move them all to one folder and click the rar to unzip them all... I CAN unzip them, i have the ability, I just don't want to open each of the 50+ folders and place them into a folder. I'm a pretty technically savvy person, and i'm usually the one teaching people... but maybe i am retarded and missing something? :dunno:

    this is the end, automator sounds like the way to do it...i just thought maybe there was a program that did it...i've tried snuffit, tried that sheep program...tried a couple dozen different programs that supposedly say they do it and none have worked for me...

    i'm using Mac Mountain Lion...
     
  11. Catalyst

    Catalyst Audiosexual

    Joined:
    May 28, 2012
    Messages:
    5,810
    Likes Received:
    802
    When you extract a rar for example and there are a million zips inside can't you just select all, right-click and choose extract to same folder?
     
  12. thisis theend

    thisis theend Member

    Joined:
    Jul 28, 2013
    Messages:
    435
    Likes Received:
    7
    OK, finally some free time came my way, so here's the Automator workflow I made for this task. Making an English explanation of this that wasn't just a mess, was actually harder than building the flow, lol, but hope it makes any sense…

    First I created two new and empty folders. I named them Multi-ZIP and Multi-RAR (you can of course name them anything), and placed them in a convenient place, for me the desktop.

    Then I start to build the workflow. Open Automator, choose Folder Action.
    At the top of the new template we see: 'Folder Action recieves files and folders added to'… In the drop-down menu I select so the folder named Multi-ZIP is displayed.
    Now I start dragging actions from the left menu into the workflow, and configure them to do what I want.
    The first 3 actions look like this: Automator step 1-3
    Note that you have to make some choice configurations inside some of the actions. Whenever I make a workflow that fails to run as I want, I've usually missed sth in config.

    Action nr 4 is 'Ask for Confirmation'. This will produce a pop-up box when the workflow runs. I put some text in this action as a simple reminder of what's going on, and it looks like this: Automator step 4
    NOTE: When I run the finished workflow this pop-up box is the only click I have to make. It is important to remember then to wait until all of the zip files have been fully extracted, before I click OK. Otherwise the following actions (nr 5-8) would start too soon and all the RAR files would not be found and moved into the same folder.

    Action nr 5-8 will find the RAR files and move them to the folder named Multi-RAR, and look like this: Automator step 5-8
    As you see in step 5 I again specify the folder named Multi-ZIP and in step 8 the folder named Multi-RAR.

    Action nr 9-11 will extract the RAR archive inside the folder named Multi-RAR, and look like this: Automator step 9-11
    I use Unarchiver to open RAR archives, but you can of course choose some other app in the final step.

    Now the workflow is complete, I go to File menu and save it.

    So now whenever I download sth and get a folder with a lot of zips that each contain a RAR, I just have to drop the folder that contain all those zips onto my desktop folder named Multi-ZIP.
    Extraction of all the zip files then start automatically, and when that process is done I click OK in my pop-up box which look like this.
    The RAR files then get moved and finally extracted inside my folder named Multi-RAR.

    If you want you can of course add even more automated actions, like moving all the zip and RAR files to trash after extraction.
    I don't do this cause if anything goes wrong with extraction it's easier to check the archives if they're still in their folders.

    You can also make a second workflow like this, but replace 'Ask for Confirmation' with 'Pause' as action nr 4.
    This is good if you have several folders containing just a few zip files. You can set the Pause timer to sth like 20-30 seconds and eliminate the clicking of the pop-up. The timer setting (to prevent step 5-8 from starting before step 3 is finished) is then depending on the archive size, for me 20 sec is well enough to fully extract all the zips if the archive is around 200 MB or smaller.
    'Pause' can also be used with a long time setting, if you have some huge archive of this type that you wanna extract while you're AFK.

    Remember you can build workflows for a lot of different boring tasks,
    and for much more and deeper knowledge we always have the google - Mac Automator Tutorial…
     
  13. Lead

    Lead Newbie

    Joined:
    May 21, 2013
    Messages:
    2
    Likes Received:
    0
    Thanks a lot for your clear explanation this is the end, great work!!!!
    And no catalyst, you can't select all and unzip them because each one is in a different folder, so you have to move one by one to a common folder.... Unless you use automator ;-)
     
  14. Catalyst

    Catalyst Audiosexual

    Joined:
    May 28, 2012
    Messages:
    5,810
    Likes Received:
    802
    That has to be the stupidest thing I have ever heard. It's so dumb that I have to actually ask you if you're sure. Not a criticism of you though, just this process. :dunno:
     
  15. SillySausage

    SillySausage Producer

    Joined:
    Jul 7, 2012
    Messages:
    2,611
    Likes Received:
    134
    Location:
    Uranus
    http://www.youtube.com/watch?v=1hPxGmTGarM :wink:
     
  16. Catalyst

    Catalyst Audiosexual

    Joined:
    May 28, 2012
    Messages:
    5,810
    Likes Received:
    802
    http://www.youtube.com/watch?v=SaOqf2d-y30

    No but really weren't Macs supposed to be easier to use and intuitive? :dunno:
     
  17. SillySausage

    SillySausage Producer

    Joined:
    Jul 7, 2012
    Messages:
    2,611
    Likes Received:
    134
    Location:
    Uranus
    depends on whose using them :wink:

    nice kitty by the way, not seen that one, scarred me, had the volume up far too high!
     
  18. iownu1000

    iownu1000 Noisemaker

    Joined:
    Dec 10, 2011
    Messages:
    106
    Likes Received:
    3
    Maybe thats whats throwing me off, i don't use Logic OR Reason. I'm an ableton guy myself :rofl:

    http://www.youtube.com/watch?v=en8V2rkBdl8

    I already unzipped n got rid of the package that gave me trouble. But anyway thanks for the advice guys...i'll try all the above next time i'm stuck.
     
  19. iownu1000

    iownu1000 Noisemaker

    Joined:
    Dec 10, 2011
    Messages:
    106
    Likes Received:
    3
    Alright i found an archive that has this problem...so heres what i get...


    [​IMG]


    and when i click open with "archive utility" it opens with a million folders like this

    [​IMG]

    Is there any program or way to be able to open each individual part file into one folder instead of a million little folders i have to take the part file out and drag it into one???

    Someone said making an automator...someone said terminal but there must be an easier way??? :dunno:

    I apologize if this is a stupid question. Apparently im missing something
     
  20. Catalyst

    Catalyst Audiosexual

    Joined:
    May 28, 2012
    Messages:
    5,810
    Likes Received:
    802
    I'm on PC but I use WinRAR which is available for Mac as well, perhaps try installing that and see if it makes your life easier.
     
  21. iownu1000

    iownu1000 Noisemaker

    Joined:
    Dec 10, 2011
    Messages:
    106
    Likes Received:
    3
    Mac doesn't have winrar, we have an equivalent called Unrarx but it only works with rar files.
    I appreciate the response though Catalyst, i like OSX but it is not as open source as PC is so hard to find the right programs sometimes...

    franknitty 69 i tried the terminal command but it doesn't even ask me to type y or n to unzip...

    hmmm....i is confused as fuck as to why there isn't a reasonable solution
     
Loading...
Loading...