Quote:
Originally Posted by amidcrescentsuns
Dear jhowell,
Could you be so kind to explain to a non-technical user how precisely to operate the command line interface [CLI]? I have located the "calibre-debug" unix executable file but have not succeeded at executing the code you provide on the first page. To be honest, I am not even sure if I am supposed to be inputting anything into that specific file. I have attempted to input the code with a dozen variations in an attempt to solve this myself, but would really appreciate a more specific explanation. Thank you for your time.
|
Documentation for calibre-debug can be found
here.
I do not use Linux so I cannot provide exact instructions for your system. In general the steps needed are as follows:
- Import the book using the calibre GUI. It should import as KFX format. If it shows KFX-ZIP instead then something went wrong with the import process and you will need to correct that before proceeding.
- Export the book format from calibre using the "Save to disk" function. Choose a destination that you will be able to find later. (Using the option to "Save to disk in a single directory" may make the exported file easier to find.)
- Launch a terminal window for entry of commands and change to the directory that contains your exported file.
- Enter the command to invoke the plugin. For example, if your exported file is named Frankenstein - Mary W. Shelley.kfx you can convert to EPUB with the command:
calibre-debug -r "KFX Input" -- -e "Frankenstein - Mary W. Shelley.kfx"
Or you can to extract any embedded PDF resources with the command:
calibre-debug -r "KFX Input" -- -p "Frankenstein - Mary W. Shelley.kfx"
(Note the a combination of single and double dashes are needed.)