Created
December 16, 2017 00:17
-
-
Save trfiladelfo/3ad5780c6af70e0acb75365ee597cbc6 to your computer and use it in GitHub Desktop.
Mac OS X: create/extract split zip archives
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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