View Single Post
Old 08-19-2016, 06:32 AM   #103
tommymac
Tommy
tommymac began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2016
Location: Italy
Device: Kindle Paperwhite
Quote:
Originally Posted by pdurrant View Post
You need to use two zip commands. One to add the mimetype, uncompressed, and then one to add the other files.

zip -X0 <quoted form of ePubFilePath> mimetype
zip -rDX9 <quoted form of ePubFilePath> * -x "*.DS_Store" -x mimetype
Huge thanks!
I hadn't realized how the zip command works: Once I set-up the working directory with cd everything goes fine
tommymac is offline   Reply With Quote