Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm on mac osx.

1. Is there any tool to compress a folder into multiple zip files ?

2. Is there any tool to split a compressed zip file into smaller zip files (to open individually later) ? thanks

share|improve this question
up vote 0 down vote accepted
  1. Pass -s to zip.
  2. zipsplit
share|improve this answer

Splitting a directory

To create a split ZIP archive on OS X, you would use

zip -s <size> -r <out> <in>

Where size is a number followed by k, m or g, e.g:

  • 650m
  • 180k
  • 1g

out is the name of the output files without the suffix and in is the directory you want to compress.

Splitting a ZIP file

zipsplit -n <size> <in>

Where size is the maximum size in bytes of the file to create and in is the input ZIP file. Note that it doesn't work when there is a file larger than size contained within the original ZIP file.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .