How to unzip split files on OS X

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

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 

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

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

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