View Single Post
Old 01-10-2016, 10:49 AM   #99
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 74,025
Karma: 315160596
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
Quote:
Originally Posted by tahach View Post
A beginner I am not, but I cannot get v3 to do anything, when I run it it keeps asking what type of unzipping I want, and then there is no visible zip/unzip options, and "Edit Script" does nothing. I guess the manual zip instructions in the first posts were also written inaccurately, unless they are supposed to run after I do "cd 79239729.epub", but even then... I don't know, I was expecting this
zip -X0 <quoted form of ePubFilePath> mimetype

to look more like

zip -X0 <quoted form of ePubFilePath> <quoted form of ePubFilePath>/mimetype

Perhaps I am even more ignorant than I thought!

It's a drag&drop application. Just drag the ePub onto the icon to unzip, or drag a folder onto it to zip up into an ePub.

Yes, the command examples are to be run with the ePub folder as the current directory. But you really don't need to do them manually.

Ah - perhaps you haven't realised the <quoted form of ePubFilePath> is the full path to the .ePub zip file to be created. Not the folder from which the ePub is to be created. If you really want to run them from somewhere other than the ePub folder, you'd need

zip -X0 <quoted form of ePubFilePath> <quoted form of mimetype file in the ePubFolderPath>

and similar changes to the command to zip up all the other files.
pdurrant is offline   Reply With Quote