How can I put files inside an empty .zip file with Mac OS X?

Hi all,
I'm learning to produce epub files (i.e., ebooks). I'm told by tutorials that I need to zip several files together, but I must start from a specific file and put that file first into the .zip archive… then the others.

I can't find ways to put files one after another inside a .zip archive using Mac. Anyone can help?

Thanks in advance,

lux

MacBook Pro 17" unibody (2009), Mac OS X (10.6.4), works pretty well :-)

Posted on Jul 11, 2010 10:02 AM

Reply
5 replies

Jul 11, 2010 10:37 AM in response to lvcivs

Create a folder.
select file to zip.
right click on file.
choose compress.
put resulting file in newly created folder.

additional files:
unzip previous files
select all previous files plus new file.
right click on files.
choose compress.
All of the previous files plus the new files that
were selected will be in a single .zip file.
repeat for adding more files.

Jul 12, 2010 3:22 PM in response to Donald Palmer

Donald Palmer wrote:
Create a folder.
select file to zip.
right click on file.
choose compress.
put resulting file in newly created folder.

[…]

No, first file must stay uncompressed until the final zipping occurs.

I found the answer by browsing around. There is a nice AppleScript called ePub Zip ( http://www.mobileread.com/forums/showthread.php?t=55681) that just works.

I read around that it can be done via Terminal with two commands:

+zip -X0 "full path to new epub file" mimetype+

and

+zip -rDX9 "full path to new epub file" * -x "*.DS_Store" -x mimetype+

I didn't check it though.

Thanks for the support,

lux

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How can I put files inside an empty .zip file with Mac OS X?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.