From 3ce3dc77b3c7ec9633733dbea9c5295899816f77 Mon Sep 17 00:00:00 2001 From: Roger Date: Sun, 4 Mar 2018 15:51:48 -0500 Subject: [PATCH] Fix command line options segment "Please only include changes required to make the layout on the front page a bit clearer regarding command line options." --- README.md | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 3cf1eeb..3c65bda 100644 --- a/README.md +++ b/README.md @@ -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