Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

2 Answers 2

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.