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)?


Use the -s switch on the zip command in terminal. So if your folder was called FolderName

zip -r -s 64 archive.zip FolderName/

64 is the size of the split (in this case 64Mb).

Use -s to set the split size and create a split archive.  
The size is  given  as  a  number  followed optionally  by  one  
of  k (kB), m (MB), g (GB), or t (TB) (the default is m). [1]

Use zipsplit to split a zip file in to multiple smaller zipfiles. Use the -n switch to set the size of the splits.

[1] http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/zip.1.html

  • 1
    @RobZolkos I've done what you suggest and I have a small archive.zip (7mb) and the segments (64mb each). However, I cannot unzip the content, I'm running unzip unix archive.zip but I get "bad zipfile offset (lseek)". Furthermore, I need to extract them in Windows environment as well, and there I only have Windows 7 extractor I guess. – aneuryzm Apr 19 '11 at 10:08
  • 1
    you just need to run unzip archive.zip I'm just checking windows now. – robzolkos Apr 19 '11 at 10:46
  • 1
    @RobZolkos I've already tried and I added to the question the error I get. – aneuryzm Apr 19 '11 at 10:49
  • 1
    I just tested it on a folder and it worked fine. Both zipping and unzipping. Make sure to unzip in a different folder than the original source. On Windows it doesn't unzip. However a freeware unzip program 7Zip 7-zip.org can unzip them without a problem. – robzolkos Apr 19 '11 at 11:05
  • 1
    @RobZolkos I get "unsupported compression method" error, do you think the issue is with at extraction step or compression step? – aneuryzm Apr 19 '11 at 12:32

I just found Keka, maybe it can interest you, and it's free.

We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.

  • 6
    Answers on Ask Different need to be more than just a link. It's okay to include a link, but please summarize or excerpt it in the answer. The idea is to make the answer stand alone. – Daniel Jul 2 '12 at 15:41

You must log in to answer this question.

protected by Daniel Jul 2 '12 at 15:42

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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