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

2 Answers 2


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
    Commented Apr 19, 2011 at 10:08
  • 1
    you just need to run unzip archive.zip I'm just checking windows now.
    – robzolkos
    Commented Apr 19, 2011 at 10:46
  • 1
    @RobZolkos I've already tried and I added to the question the error I get.
    – aneuryzm
    Commented Apr 19, 2011 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
    Commented Apr 19, 2011 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
    Commented Apr 19, 2011 at 12:32

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

  • 7
    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
    Commented Jul 2, 2012 at 15:41

You must log in to answer this question.

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