Skip to content

Instantly share code, notes, and snippets.

@trfiladelfo
Created December 16, 2017 00:17
Show Gist options
  • Save trfiladelfo/3ad5780c6af70e0acb75365ee597cbc6 to your computer and use it in GitHub Desktop.
Save trfiladelfo/3ad5780c6af70e0acb75365ee597cbc6 to your computer and use it in GitHub Desktop.
Mac OS X: create/extract split zip archives
I. Create split zip archive
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/
II. Extract split zip archive
To extract a split zip archive (a series of files named zip, z01, z01...), 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment