Quote:
Originally Posted by crankypants
An EPUB is just a zipped file with certain files and directories in it. How in the world do I force the mimetype file to not be compressed and be the first file using 7zip?
|
If you were on a Mac, you could use my
ePub zip/unzip AppleScript.
If you have access to a command-line zip, the commands (with the unzipped ePub directory as current directory)
zip -X0 <quoted form of ePubFilePath> mimetype
zip -rDX9 <quoted form of ePubFilePath> * -x mimetype