How to unzip split files on OS X












31















How do I unzip a split zip file?



In Terminal, I wrote: unzip filename.zip and it did not unzip this file.



Terminal wrote:



$ unzip filename.zip
Archive: filename.zip
warning [filename.zip]: zipfile claims to be last disk of a multi-part archive;
attempting to process anyway, assuming all parts have been concatenated
together in order. Expect "errors" and warnings...true multi-part support
doesn't exist yet (coming soon).
file #1: bad zipfile offset (local header sig): 4
file #2: bad zipfile offset (local header sig): 98
file #3: bad zipfile offset (local header sig): 471
file #4: bad zipfile offset (local header sig): 6635222


Double clicking of this file creating filename.zip.cpgz



What can I do?










share|improve this question




















  • 1





    So, are there any other parts of this file or do you only have this one part? If you only have one, are you trying to get the contents of this part only?

    – slhck
    Dec 7 '11 at 17:12











  • Have you tried other uncompression tools? I'd run uncompress and gunzip on the file and see if was processed with one of those.

    – Wilersh
    Dec 7 '11 at 20:25











  • It's no problem to unzip multiple archive using unarchiver.app but I'm looking for the terminal command to do this without of using any apps.

    – Kris
    Dec 8 '11 at 14:16











  • First I'd take it over to a Windows box and try 7Zip on it. If that doesn't work I'd try to find the rest of the zip file pieces and concatenate them together.

    – Daniel R Hicks
    Jul 20 '13 at 1:00
















31















How do I unzip a split zip file?



In Terminal, I wrote: unzip filename.zip and it did not unzip this file.



Terminal wrote:



$ unzip filename.zip
Archive: filename.zip
warning [filename.zip]: zipfile claims to be last disk of a multi-part archive;
attempting to process anyway, assuming all parts have been concatenated
together in order. Expect "errors" and warnings...true multi-part support
doesn't exist yet (coming soon).
file #1: bad zipfile offset (local header sig): 4
file #2: bad zipfile offset (local header sig): 98
file #3: bad zipfile offset (local header sig): 471
file #4: bad zipfile offset (local header sig): 6635222


Double clicking of this file creating filename.zip.cpgz



What can I do?










share|improve this question




















  • 1





    So, are there any other parts of this file or do you only have this one part? If you only have one, are you trying to get the contents of this part only?

    – slhck
    Dec 7 '11 at 17:12











  • Have you tried other uncompression tools? I'd run uncompress and gunzip on the file and see if was processed with one of those.

    – Wilersh
    Dec 7 '11 at 20:25











  • It's no problem to unzip multiple archive using unarchiver.app but I'm looking for the terminal command to do this without of using any apps.

    – Kris
    Dec 8 '11 at 14:16











  • First I'd take it over to a Windows box and try 7Zip on it. If that doesn't work I'd try to find the rest of the zip file pieces and concatenate them together.

    – Daniel R Hicks
    Jul 20 '13 at 1:00














31












31








31


13






How do I unzip a split zip file?



In Terminal, I wrote: unzip filename.zip and it did not unzip this file.



Terminal wrote:



$ unzip filename.zip
Archive: filename.zip
warning [filename.zip]: zipfile claims to be last disk of a multi-part archive;
attempting to process anyway, assuming all parts have been concatenated
together in order. Expect "errors" and warnings...true multi-part support
doesn't exist yet (coming soon).
file #1: bad zipfile offset (local header sig): 4
file #2: bad zipfile offset (local header sig): 98
file #3: bad zipfile offset (local header sig): 471
file #4: bad zipfile offset (local header sig): 6635222


Double clicking of this file creating filename.zip.cpgz



What can I do?










share|improve this question
















How do I unzip a split zip file?



In Terminal, I wrote: unzip filename.zip and it did not unzip this file.



Terminal wrote:



$ unzip filename.zip
Archive: filename.zip
warning [filename.zip]: zipfile claims to be last disk of a multi-part archive;
attempting to process anyway, assuming all parts have been concatenated
together in order. Expect "errors" and warnings...true multi-part support
doesn't exist yet (coming soon).
file #1: bad zipfile offset (local header sig): 4
file #2: bad zipfile offset (local header sig): 98
file #3: bad zipfile offset (local header sig): 471
file #4: bad zipfile offset (local header sig): 6635222


Double clicking of this file creating filename.zip.cpgz



What can I do?







macos zip






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 18 '15 at 21:00









Hennes

59k792141




59k792141










asked Dec 7 '11 at 17:07









KrisKris

156123




156123








  • 1





    So, are there any other parts of this file or do you only have this one part? If you only have one, are you trying to get the contents of this part only?

    – slhck
    Dec 7 '11 at 17:12











  • Have you tried other uncompression tools? I'd run uncompress and gunzip on the file and see if was processed with one of those.

    – Wilersh
    Dec 7 '11 at 20:25











  • It's no problem to unzip multiple archive using unarchiver.app but I'm looking for the terminal command to do this without of using any apps.

    – Kris
    Dec 8 '11 at 14:16











  • First I'd take it over to a Windows box and try 7Zip on it. If that doesn't work I'd try to find the rest of the zip file pieces and concatenate them together.

    – Daniel R Hicks
    Jul 20 '13 at 1:00














  • 1





    So, are there any other parts of this file or do you only have this one part? If you only have one, are you trying to get the contents of this part only?

    – slhck
    Dec 7 '11 at 17:12











  • Have you tried other uncompression tools? I'd run uncompress and gunzip on the file and see if was processed with one of those.

    – Wilersh
    Dec 7 '11 at 20:25











  • It's no problem to unzip multiple archive using unarchiver.app but I'm looking for the terminal command to do this without of using any apps.

    – Kris
    Dec 8 '11 at 14:16











  • First I'd take it over to a Windows box and try 7Zip on it. If that doesn't work I'd try to find the rest of the zip file pieces and concatenate them together.

    – Daniel R Hicks
    Jul 20 '13 at 1:00








1




1





So, are there any other parts of this file or do you only have this one part? If you only have one, are you trying to get the contents of this part only?

– slhck
Dec 7 '11 at 17:12





So, are there any other parts of this file or do you only have this one part? If you only have one, are you trying to get the contents of this part only?

– slhck
Dec 7 '11 at 17:12













Have you tried other uncompression tools? I'd run uncompress and gunzip on the file and see if was processed with one of those.

– Wilersh
Dec 7 '11 at 20:25





Have you tried other uncompression tools? I'd run uncompress and gunzip on the file and see if was processed with one of those.

– Wilersh
Dec 7 '11 at 20:25













It's no problem to unzip multiple archive using unarchiver.app but I'm looking for the terminal command to do this without of using any apps.

– Kris
Dec 8 '11 at 14:16





It's no problem to unzip multiple archive using unarchiver.app but I'm looking for the terminal command to do this without of using any apps.

– Kris
Dec 8 '11 at 14:16













First I'd take it over to a Windows box and try 7Zip on it. If that doesn't work I'd try to find the rest of the zip file pieces and concatenate them together.

– Daniel R Hicks
Jul 20 '13 at 1:00





First I'd take it over to a Windows box and try 7Zip on it. If that doesn't work I'd try to find the rest of the zip file pieces and concatenate them together.

– Daniel R Hicks
Jul 20 '13 at 1:00










9 Answers
9






active

oldest

votes


















43














This was the straight forward and only solution that worked for me on OS X (taken from here).



1. To create a split zip archive (a series of files named zip, z01, z02...), run following command in Terminal:



zip -s 100m -x "*.DS_Store" -r split-foo.zip foo/


2. To extract a split zip archive (a series of files named zip, z01, z02...), run following command in Terminal:



First, combine the split archive to a single archive:



zip -s 0 split-foo.zip --out unsplit-foo.zip


Extract the single archive using unzip:



unzip unsplit-foo.zip





share|improve this answer





















  • 15





    if you have splitted binaries, like file.zip.001, file.zip.002 ... you may just need to combine the files e.g. using cat command: cat file.zip.* > single.zip

    – Karl Adler
    Apr 29 '15 at 9:52











  • @abimelex your comment helped solve my exact scenario!

    – Daniel Apt
    Jun 2 '15 at 11:44











  • You're the man @abimelex !!!!! - I did have to use p7zip to extract them because of this error: need PK compat. v5.1 (can do v4.5)

    – bryan
    May 18 '17 at 15:06













  • I'm glad to help. Since the comment has a lot of up-votes I added it as answer too.

    – Karl Adler
    May 19 '17 at 8:16



















9














Just cat all zip files in sequence to a single file and use unzip command on that.



For example:



cat file.zip.001 > s.zip 
cat file.zip.002 >> s.zip
cat file.zip.003 >> s.zip

unzip s.zip





share|improve this answer

































    5














    additionally to this answer if you have split binaries, like file.zip.001, file.zip.002 ... you may just need to combine the files e.g. using cat command:



    cat file.zip.* > single.zip





    share|improve this answer































      3














      Just run this command on the bash prompt to concatenate the zips.



      for i in `seq 1 5`; do cat file.zip.0$i>>uncut-version.zip; done


      the above example has 5 parts.



      Then unzip the file using your favourite method



      unzip uncut-version.zip





      share|improve this answer































        2














        Tested on a 10.8.5 Mac OS




        • Use Stuffit Expander free version

        • Just drag the last file (the one with .ZIP extension) in Stuffit

        • Wait for a while because it seeme Stuffit re-build first the complete file

        • See all your files unzipped






        share|improve this answer































          2














          In my case, within OS X 10.11.6, i had a multipart archive with extensions



          .z01
          .z02
          ... (etc)
          .zip


          Using



          zip -s 0 in.zip --out out.zip


          did get me a single zip. It did not extract with unzip, but did with 7zip, installed via MacPorts:



          port install p7zip
          7za x out.zip





          share|improve this answer































            1














            I hit this issue when trying to re-assemble a large directory downloaded from Google Drive.



            Similar to this issue, if you are dealing with a set of zip files that do not include numbered file extensions (foo.z01, foo.z02, etc) and are simply multiple zip files that should be unarchived together into the same directory, the following worked for me:



            unzip '*.zip' -d /path/to/unzip/destination





            share|improve this answer































              0














              The highest voted answer does not work for me for a big split zip archive. What actually works is very simple: Open the .z01 file with the free Mac application The Unarchiver (available from the Mac App Store). It handles the extraction nicely.






              share|improve this answer































                0














                This was the most simple solution I could find:



                find ./ -name "*.zip" -exec unzip {} ;





                share|improve this answer

























                  Your Answer








                  StackExchange.ready(function() {
                  var channelOptions = {
                  tags: "".split(" "),
                  id: "3"
                  };
                  initTagRenderer("".split(" "), "".split(" "), channelOptions);

                  StackExchange.using("externalEditor", function() {
                  // Have to fire editor after snippets, if snippets enabled
                  if (StackExchange.settings.snippets.snippetsEnabled) {
                  StackExchange.using("snippets", function() {
                  createEditor();
                  });
                  }
                  else {
                  createEditor();
                  }
                  });

                  function createEditor() {
                  StackExchange.prepareEditor({
                  heartbeatType: 'answer',
                  autoActivateHeartbeat: false,
                  convertImagesToLinks: true,
                  noModals: true,
                  showLowRepImageUploadWarning: true,
                  reputationToPostImages: 10,
                  bindNavPrevention: true,
                  postfix: "",
                  imageUploader: {
                  brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
                  contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
                  allowUrls: true
                  },
                  onDemand: true,
                  discardSelector: ".discard-answer"
                  ,immediatelyShowMarkdownHelp:true
                  });


                  }
                  });














                  draft saved

                  draft discarded


















                  StackExchange.ready(
                  function () {
                  StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f365643%2fhow-to-unzip-split-files-on-os-x%23new-answer', 'question_page');
                  }
                  );

                  Post as a guest















                  Required, but never shown

























                  9 Answers
                  9






                  active

                  oldest

                  votes








                  9 Answers
                  9






                  active

                  oldest

                  votes









                  active

                  oldest

                  votes






                  active

                  oldest

                  votes









                  43














                  This was the straight forward and only solution that worked for me on OS X (taken from here).



                  1. To create a split zip archive (a series of files named zip, z01, z02...), run following command in Terminal:



                  zip -s 100m -x "*.DS_Store" -r split-foo.zip foo/


                  2. To extract a split zip archive (a series of files named zip, z01, z02...), run following command in Terminal:



                  First, combine the split archive to a single archive:



                  zip -s 0 split-foo.zip --out unsplit-foo.zip


                  Extract the single archive using unzip:



                  unzip unsplit-foo.zip





                  share|improve this answer





















                  • 15





                    if you have splitted binaries, like file.zip.001, file.zip.002 ... you may just need to combine the files e.g. using cat command: cat file.zip.* > single.zip

                    – Karl Adler
                    Apr 29 '15 at 9:52











                  • @abimelex your comment helped solve my exact scenario!

                    – Daniel Apt
                    Jun 2 '15 at 11:44











                  • You're the man @abimelex !!!!! - I did have to use p7zip to extract them because of this error: need PK compat. v5.1 (can do v4.5)

                    – bryan
                    May 18 '17 at 15:06













                  • I'm glad to help. Since the comment has a lot of up-votes I added it as answer too.

                    – Karl Adler
                    May 19 '17 at 8:16
















                  43














                  This was the straight forward and only solution that worked for me on OS X (taken from here).



                  1. To create a split zip archive (a series of files named zip, z01, z02...), run following command in Terminal:



                  zip -s 100m -x "*.DS_Store" -r split-foo.zip foo/


                  2. To extract a split zip archive (a series of files named zip, z01, z02...), run following command in Terminal:



                  First, combine the split archive to a single archive:



                  zip -s 0 split-foo.zip --out unsplit-foo.zip


                  Extract the single archive using unzip:



                  unzip unsplit-foo.zip





                  share|improve this answer





















                  • 15





                    if you have splitted binaries, like file.zip.001, file.zip.002 ... you may just need to combine the files e.g. using cat command: cat file.zip.* > single.zip

                    – Karl Adler
                    Apr 29 '15 at 9:52











                  • @abimelex your comment helped solve my exact scenario!

                    – Daniel Apt
                    Jun 2 '15 at 11:44











                  • You're the man @abimelex !!!!! - I did have to use p7zip to extract them because of this error: need PK compat. v5.1 (can do v4.5)

                    – bryan
                    May 18 '17 at 15:06













                  • I'm glad to help. Since the comment has a lot of up-votes I added it as answer too.

                    – Karl Adler
                    May 19 '17 at 8:16














                  43












                  43








                  43







                  This was the straight forward and only solution that worked for me on OS X (taken from here).



                  1. To create a split zip archive (a series of files named zip, z01, z02...), run following command in Terminal:



                  zip -s 100m -x "*.DS_Store" -r split-foo.zip foo/


                  2. To extract a split zip archive (a series of files named zip, z01, z02...), run following command in Terminal:



                  First, combine the split archive to a single archive:



                  zip -s 0 split-foo.zip --out unsplit-foo.zip


                  Extract the single archive using unzip:



                  unzip unsplit-foo.zip





                  share|improve this answer















                  This was the straight forward and only solution that worked for me on OS X (taken from here).



                  1. To create a split zip archive (a series of files named zip, z01, z02...), run following command in Terminal:



                  zip -s 100m -x "*.DS_Store" -r split-foo.zip foo/


                  2. To extract a split zip archive (a series of files named zip, z01, z02...), run following command in Terminal:



                  First, combine the split archive to a single archive:



                  zip -s 0 split-foo.zip --out unsplit-foo.zip


                  Extract the single archive using unzip:



                  unzip unsplit-foo.zip






                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Jul 27 '15 at 8:33









                  Community

                  1




                  1










                  answered Dec 11 '12 at 9:21









                  Primoz RomePrimoz Rome

                  55657




                  55657








                  • 15





                    if you have splitted binaries, like file.zip.001, file.zip.002 ... you may just need to combine the files e.g. using cat command: cat file.zip.* > single.zip

                    – Karl Adler
                    Apr 29 '15 at 9:52











                  • @abimelex your comment helped solve my exact scenario!

                    – Daniel Apt
                    Jun 2 '15 at 11:44











                  • You're the man @abimelex !!!!! - I did have to use p7zip to extract them because of this error: need PK compat. v5.1 (can do v4.5)

                    – bryan
                    May 18 '17 at 15:06













                  • I'm glad to help. Since the comment has a lot of up-votes I added it as answer too.

                    – Karl Adler
                    May 19 '17 at 8:16














                  • 15





                    if you have splitted binaries, like file.zip.001, file.zip.002 ... you may just need to combine the files e.g. using cat command: cat file.zip.* > single.zip

                    – Karl Adler
                    Apr 29 '15 at 9:52











                  • @abimelex your comment helped solve my exact scenario!

                    – Daniel Apt
                    Jun 2 '15 at 11:44











                  • You're the man @abimelex !!!!! - I did have to use p7zip to extract them because of this error: need PK compat. v5.1 (can do v4.5)

                    – bryan
                    May 18 '17 at 15:06













                  • I'm glad to help. Since the comment has a lot of up-votes I added it as answer too.

                    – Karl Adler
                    May 19 '17 at 8:16








                  15




                  15





                  if you have splitted binaries, like file.zip.001, file.zip.002 ... you may just need to combine the files e.g. using cat command: cat file.zip.* > single.zip

                  – Karl Adler
                  Apr 29 '15 at 9:52





                  if you have splitted binaries, like file.zip.001, file.zip.002 ... you may just need to combine the files e.g. using cat command: cat file.zip.* > single.zip

                  – Karl Adler
                  Apr 29 '15 at 9:52













                  @abimelex your comment helped solve my exact scenario!

                  – Daniel Apt
                  Jun 2 '15 at 11:44





                  @abimelex your comment helped solve my exact scenario!

                  – Daniel Apt
                  Jun 2 '15 at 11:44













                  You're the man @abimelex !!!!! - I did have to use p7zip to extract them because of this error: need PK compat. v5.1 (can do v4.5)

                  – bryan
                  May 18 '17 at 15:06







                  You're the man @abimelex !!!!! - I did have to use p7zip to extract them because of this error: need PK compat. v5.1 (can do v4.5)

                  – bryan
                  May 18 '17 at 15:06















                  I'm glad to help. Since the comment has a lot of up-votes I added it as answer too.

                  – Karl Adler
                  May 19 '17 at 8:16





                  I'm glad to help. Since the comment has a lot of up-votes I added it as answer too.

                  – Karl Adler
                  May 19 '17 at 8:16













                  9














                  Just cat all zip files in sequence to a single file and use unzip command on that.



                  For example:



                  cat file.zip.001 > s.zip 
                  cat file.zip.002 >> s.zip
                  cat file.zip.003 >> s.zip

                  unzip s.zip





                  share|improve this answer






























                    9














                    Just cat all zip files in sequence to a single file and use unzip command on that.



                    For example:



                    cat file.zip.001 > s.zip 
                    cat file.zip.002 >> s.zip
                    cat file.zip.003 >> s.zip

                    unzip s.zip





                    share|improve this answer




























                      9












                      9








                      9







                      Just cat all zip files in sequence to a single file and use unzip command on that.



                      For example:



                      cat file.zip.001 > s.zip 
                      cat file.zip.002 >> s.zip
                      cat file.zip.003 >> s.zip

                      unzip s.zip





                      share|improve this answer















                      Just cat all zip files in sequence to a single file and use unzip command on that.



                      For example:



                      cat file.zip.001 > s.zip 
                      cat file.zip.002 >> s.zip
                      cat file.zip.003 >> s.zip

                      unzip s.zip






                      share|improve this answer














                      share|improve this answer



                      share|improve this answer








                      edited Apr 26 '16 at 0:02









                      techraf

                      4,003111729




                      4,003111729










                      answered Apr 20 '16 at 23:05









                      MallsMalls

                      19111




                      19111























                          5














                          additionally to this answer if you have split binaries, like file.zip.001, file.zip.002 ... you may just need to combine the files e.g. using cat command:



                          cat file.zip.* > single.zip





                          share|improve this answer




























                            5














                            additionally to this answer if you have split binaries, like file.zip.001, file.zip.002 ... you may just need to combine the files e.g. using cat command:



                            cat file.zip.* > single.zip





                            share|improve this answer


























                              5












                              5








                              5







                              additionally to this answer if you have split binaries, like file.zip.001, file.zip.002 ... you may just need to combine the files e.g. using cat command:



                              cat file.zip.* > single.zip





                              share|improve this answer













                              additionally to this answer if you have split binaries, like file.zip.001, file.zip.002 ... you may just need to combine the files e.g. using cat command:



                              cat file.zip.* > single.zip






                              share|improve this answer












                              share|improve this answer



                              share|improve this answer










                              answered May 19 '17 at 8:15









                              Karl AdlerKarl Adler

                              15113




                              15113























                                  3














                                  Just run this command on the bash prompt to concatenate the zips.



                                  for i in `seq 1 5`; do cat file.zip.0$i>>uncut-version.zip; done


                                  the above example has 5 parts.



                                  Then unzip the file using your favourite method



                                  unzip uncut-version.zip





                                  share|improve this answer




























                                    3














                                    Just run this command on the bash prompt to concatenate the zips.



                                    for i in `seq 1 5`; do cat file.zip.0$i>>uncut-version.zip; done


                                    the above example has 5 parts.



                                    Then unzip the file using your favourite method



                                    unzip uncut-version.zip





                                    share|improve this answer


























                                      3












                                      3








                                      3







                                      Just run this command on the bash prompt to concatenate the zips.



                                      for i in `seq 1 5`; do cat file.zip.0$i>>uncut-version.zip; done


                                      the above example has 5 parts.



                                      Then unzip the file using your favourite method



                                      unzip uncut-version.zip





                                      share|improve this answer













                                      Just run this command on the bash prompt to concatenate the zips.



                                      for i in `seq 1 5`; do cat file.zip.0$i>>uncut-version.zip; done


                                      the above example has 5 parts.



                                      Then unzip the file using your favourite method



                                      unzip uncut-version.zip






                                      share|improve this answer












                                      share|improve this answer



                                      share|improve this answer










                                      answered Jul 14 '16 at 8:39









                                      cyborg77cyborg77

                                      311




                                      311























                                          2














                                          Tested on a 10.8.5 Mac OS




                                          • Use Stuffit Expander free version

                                          • Just drag the last file (the one with .ZIP extension) in Stuffit

                                          • Wait for a while because it seeme Stuffit re-build first the complete file

                                          • See all your files unzipped






                                          share|improve this answer




























                                            2














                                            Tested on a 10.8.5 Mac OS




                                            • Use Stuffit Expander free version

                                            • Just drag the last file (the one with .ZIP extension) in Stuffit

                                            • Wait for a while because it seeme Stuffit re-build first the complete file

                                            • See all your files unzipped






                                            share|improve this answer


























                                              2












                                              2








                                              2







                                              Tested on a 10.8.5 Mac OS




                                              • Use Stuffit Expander free version

                                              • Just drag the last file (the one with .ZIP extension) in Stuffit

                                              • Wait for a while because it seeme Stuffit re-build first the complete file

                                              • See all your files unzipped






                                              share|improve this answer













                                              Tested on a 10.8.5 Mac OS




                                              • Use Stuffit Expander free version

                                              • Just drag the last file (the one with .ZIP extension) in Stuffit

                                              • Wait for a while because it seeme Stuffit re-build first the complete file

                                              • See all your files unzipped







                                              share|improve this answer












                                              share|improve this answer



                                              share|improve this answer










                                              answered Oct 28 '13 at 14:24









                                              Florent INPAGINAFlorent INPAGINA

                                              211




                                              211























                                                  2














                                                  In my case, within OS X 10.11.6, i had a multipart archive with extensions



                                                  .z01
                                                  .z02
                                                  ... (etc)
                                                  .zip


                                                  Using



                                                  zip -s 0 in.zip --out out.zip


                                                  did get me a single zip. It did not extract with unzip, but did with 7zip, installed via MacPorts:



                                                  port install p7zip
                                                  7za x out.zip





                                                  share|improve this answer




























                                                    2














                                                    In my case, within OS X 10.11.6, i had a multipart archive with extensions



                                                    .z01
                                                    .z02
                                                    ... (etc)
                                                    .zip


                                                    Using



                                                    zip -s 0 in.zip --out out.zip


                                                    did get me a single zip. It did not extract with unzip, but did with 7zip, installed via MacPorts:



                                                    port install p7zip
                                                    7za x out.zip





                                                    share|improve this answer


























                                                      2












                                                      2








                                                      2







                                                      In my case, within OS X 10.11.6, i had a multipart archive with extensions



                                                      .z01
                                                      .z02
                                                      ... (etc)
                                                      .zip


                                                      Using



                                                      zip -s 0 in.zip --out out.zip


                                                      did get me a single zip. It did not extract with unzip, but did with 7zip, installed via MacPorts:



                                                      port install p7zip
                                                      7za x out.zip





                                                      share|improve this answer













                                                      In my case, within OS X 10.11.6, i had a multipart archive with extensions



                                                      .z01
                                                      .z02
                                                      ... (etc)
                                                      .zip


                                                      Using



                                                      zip -s 0 in.zip --out out.zip


                                                      did get me a single zip. It did not extract with unzip, but did with 7zip, installed via MacPorts:



                                                      port install p7zip
                                                      7za x out.zip






                                                      share|improve this answer












                                                      share|improve this answer



                                                      share|improve this answer










                                                      answered Aug 28 '16 at 17:56









                                                      rhaleblianrhaleblian

                                                      212




                                                      212























                                                          1














                                                          I hit this issue when trying to re-assemble a large directory downloaded from Google Drive.



                                                          Similar to this issue, if you are dealing with a set of zip files that do not include numbered file extensions (foo.z01, foo.z02, etc) and are simply multiple zip files that should be unarchived together into the same directory, the following worked for me:



                                                          unzip '*.zip' -d /path/to/unzip/destination





                                                          share|improve this answer




























                                                            1














                                                            I hit this issue when trying to re-assemble a large directory downloaded from Google Drive.



                                                            Similar to this issue, if you are dealing with a set of zip files that do not include numbered file extensions (foo.z01, foo.z02, etc) and are simply multiple zip files that should be unarchived together into the same directory, the following worked for me:



                                                            unzip '*.zip' -d /path/to/unzip/destination





                                                            share|improve this answer


























                                                              1












                                                              1








                                                              1







                                                              I hit this issue when trying to re-assemble a large directory downloaded from Google Drive.



                                                              Similar to this issue, if you are dealing with a set of zip files that do not include numbered file extensions (foo.z01, foo.z02, etc) and are simply multiple zip files that should be unarchived together into the same directory, the following worked for me:



                                                              unzip '*.zip' -d /path/to/unzip/destination





                                                              share|improve this answer













                                                              I hit this issue when trying to re-assemble a large directory downloaded from Google Drive.



                                                              Similar to this issue, if you are dealing with a set of zip files that do not include numbered file extensions (foo.z01, foo.z02, etc) and are simply multiple zip files that should be unarchived together into the same directory, the following worked for me:



                                                              unzip '*.zip' -d /path/to/unzip/destination






                                                              share|improve this answer












                                                              share|improve this answer



                                                              share|improve this answer










                                                              answered Jan 9 at 22:08









                                                              Kenny LewisKenny Lewis

                                                              111




                                                              111























                                                                  0














                                                                  The highest voted answer does not work for me for a big split zip archive. What actually works is very simple: Open the .z01 file with the free Mac application The Unarchiver (available from the Mac App Store). It handles the extraction nicely.






                                                                  share|improve this answer




























                                                                    0














                                                                    The highest voted answer does not work for me for a big split zip archive. What actually works is very simple: Open the .z01 file with the free Mac application The Unarchiver (available from the Mac App Store). It handles the extraction nicely.






                                                                    share|improve this answer


























                                                                      0












                                                                      0








                                                                      0







                                                                      The highest voted answer does not work for me for a big split zip archive. What actually works is very simple: Open the .z01 file with the free Mac application The Unarchiver (available from the Mac App Store). It handles the extraction nicely.






                                                                      share|improve this answer













                                                                      The highest voted answer does not work for me for a big split zip archive. What actually works is very simple: Open the .z01 file with the free Mac application The Unarchiver (available from the Mac App Store). It handles the extraction nicely.







                                                                      share|improve this answer












                                                                      share|improve this answer



                                                                      share|improve this answer










                                                                      answered Feb 2 '17 at 5:20









                                                                      Yongwei WuYongwei Wu

                                                                      1011




                                                                      1011























                                                                          0














                                                                          This was the most simple solution I could find:



                                                                          find ./ -name "*.zip" -exec unzip {} ;





                                                                          share|improve this answer






























                                                                            0














                                                                            This was the most simple solution I could find:



                                                                            find ./ -name "*.zip" -exec unzip {} ;





                                                                            share|improve this answer




























                                                                              0












                                                                              0








                                                                              0







                                                                              This was the most simple solution I could find:



                                                                              find ./ -name "*.zip" -exec unzip {} ;





                                                                              share|improve this answer















                                                                              This was the most simple solution I could find:



                                                                              find ./ -name "*.zip" -exec unzip {} ;






                                                                              share|improve this answer














                                                                              share|improve this answer



                                                                              share|improve this answer








                                                                              edited Dec 21 '18 at 12:26

























                                                                              answered Dec 21 '18 at 12:10









                                                                              fguillenfguillen

                                                                              24125




                                                                              24125






























                                                                                  draft saved

                                                                                  draft discarded




















































                                                                                  Thanks for contributing an answer to Super User!


                                                                                  • Please be sure to answer the question. Provide details and share your research!

                                                                                  But avoid



                                                                                  • Asking for help, clarification, or responding to other answers.

                                                                                  • Making statements based on opinion; back them up with references or personal experience.


                                                                                  To learn more, see our tips on writing great answers.




                                                                                  draft saved


                                                                                  draft discarded














                                                                                  StackExchange.ready(
                                                                                  function () {
                                                                                  StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f365643%2fhow-to-unzip-split-files-on-os-x%23new-answer', 'question_page');
                                                                                  }
                                                                                  );

                                                                                  Post as a guest















                                                                                  Required, but never shown





















































                                                                                  Required, but never shown














                                                                                  Required, but never shown












                                                                                  Required, but never shown







                                                                                  Required, but never shown

































                                                                                  Required, but never shown














                                                                                  Required, but never shown












                                                                                  Required, but never shown







                                                                                  Required, but never shown







                                                                                  Popular posts from this blog

                                                                                  Сан-Квентин

                                                                                  8-я гвардейская общевойсковая армия

                                                                                  Алькесар