Skip to content

Commit

Permalink
Fix command line options segment
Browse files Browse the repository at this point in the history
"Please only include changes required to make the layout on the front page a bit clearer regarding command line options."
  • Loading branch information
superusercode committed Mar 4, 2018
1 parent e4c8636 commit 3ce3dc7
Showing 1 changed file with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,42 +43,41 @@ If you would prefer a command-line interface, simply look inside KindleUnpack's
folder for the KindleUnpack.py python program and its support modules. You should
then be able to run KindleUnpack.py by the following command:


```sh
python kindleunpack.py [-r -s -d -h -i] [-p APNX_FILE] INPUT_FILE OUTPUT_FOLDER
```

where you replace:

INPUT_FILE - path to the desired Kindle/MobiPocket ebook

OUTPUT_FOLDER - path to folder where the ebook will be unpacked
`INPUT_FILE` - path to the desired Kindle/MobiPocket ebook

Options:
-h print this help message
`OUTPUT_FOLDER` - path to folder where the ebook will be unpacked

-i use HDImages to overwrite lower resolution versions, if present
### Options

-s split combination mobis into older mobi and mobi KF8 ebooks
`-h` print this help message

-p APNX_FILE path to a .apnx file that contains real page numbers associated
with an azw3 ebook (optional). Note: many apnx files have
arbitrarily assigned page offsets that will confuse KindleUnpack
if used
`-i` use HDImages to overwrite lower resolution versions, if present

--epub_version= specify epub version to unpack to: 2, 3 or A (for automatic) or
F for Force to epub2, default is 2
`-s` split combination mobis into older mobi and mobi KF8 ebooks

-r write raw data to the output folder
`-p APNX_FILE` path to a .apnx file that contains real page numbers associated
with an azw3 ebook (optional). Note: many apnx files have
arbitrarily assigned page offsets that will confuse KindleUnpack
if used

-d dump headers and other debug info to output and extra files
`--epub_version=` specify EPUB version to unpack to: 2, 3 or A (for automatic) or
F for Force to EPUB2, default is 2

`-r` write raw data to the output folder

`-d` dump headers and other debug info to output and extra files

Please report any bugs or comments/requests our sticky forum on the Mobileread website.
It can be found at http://www.mobileread.com/forums.

Look under E-Book Formats > Kindle Formats > KindleUnpack (MobiUnpack).


License Information

KindleUnpack
Expand Down

0 comments on commit 3ce3dc7

Please sign in to comment.