Originally Posted by Jellby
What I do is:
#create MyBook.epub only with "mimetype", without compression (as per spec)
zip -X0 MyBook.epub mimetype
#add the rest of the files with maximum compression
zip -X9Dr MyBook.epub META-INF OEBPS
if you don't want to use the commande line, you can also just create an empty zip archive, and put the mimetype in there alone as the first file (no compression). then add all the others afterward. that is what i do.
(or just create a zip of the mimetype, and add the other files in a second operation).