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:
    1. First, combine the split archive to a single archive:
      zip -s 0 split-foo.zip --out unsplit-foo.zip
    2. Extract the single archive using unzip:
      unzip unsplit-foo.zip

See also




No comments:

Post a Comment