You used "/path/to/kindlegen /path/to/opf
KindleGen -c2 -dont_append_source"
You should've used "/path/to/kindlegen /path/to/opf -c2 -dont_append_source"
Try (no need for path to current dir, it makes things longer and more confusing):
Downloads/GTLW_FILES/GTLW_KindleFixed/KindleGen_Mac_i386_v2_9/kindlegen Downloads/GTLW_FILES/GTLW_KindleFixed/content.opf -c2 -dont_append_source
Kindlegen was looking for a file called "KindleGen" to convert.
@
JSWolf, I suggest you stop telling other people how worth their time it is to decrease the size of their book
in order that they can actually upload it. Regardless of whether it does enough to decrease the size, it costs nothing but some time that can easily be spent doing other things away from the computer. Also, your command-line instructions have the momentous failure of having nothing whatsoever to do with the actual workings of
this particular program... which you would know if you had tried running the program to see the instructions. Take note of the usage:
Code:
C:\Documents and Settings\<username>\My Documents\Downloads\kindlegen_win32_v2_9>
kindlegen.exe
*************************************************************
Amazon kindlegen(Windows) V2.9 build 0731-890adc2
A command line e-book compiler
Copyright Amazon.com and its Affiliates 2013
*************************************************************
Usage : kindlegen [filename.opf/.htm/.html/.epub/.zip or directory] [-c0 or -c1
or c2] [-verbose] [-western] [-o <file name>]
Note:
zip formats are supported for XMDF and FB2 sources
directory formats are supported for XMDF sources
Options:
-c0: no compression
-c1: standard DOC compression
-c2: Kindle huffdic compression
-o <file name>: Specifies the output file name. Output file will be created i
n the same directory as that of input file. <file name> should not contain direc
tory path.
-verbose: provides more information during ebook conversion
-western: force build of Windows-1252 book
-releasenotes: display release notes
-gif: images are converted to GIF format (no JPEG in the book)
-locale <locale option> : To display messages in selected language
en: English
de: German
fr: French
it: Italian
es: Spanish
zh: Chinese
ja: Japanese
pt: Portuguese
ru: Russian
No output file need be specified (it's optional
),
there is no option to put in the title (which belongs in the opf), and the input file can be specified either before or after the switches, so that is not the solution either.