logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

mobitool — Utility for handling MOBI format ebook files.

Description

       The  program  handles  .prc,  .mobi,  .azw,  .azw3,  .azw4, some .pdb documents. It is powered by libmobi
       library.

       Invoked without arguments prints document metadata and exits.

       A list of flags and their descriptions:

       -c       dump cover

       -d       dump rawml text record

       -e       convert mobi to epub

       -h       show usage summary and exit

       -i       print detailed metadata

       -m       print records metadata

       -odir   save output to dir folder

       -ppid   set pid for decryption

       -Pserial
                set device serial number for decryption

       -r       dump raw records

       -s       dump recreated source files

       -t       split hybrid file into two parts: mobi and azw3

       -u       show rusage (diagnostics)

       -v       show version and exit

       -x       extract conversion source and log (if present)

       -7       parse KF7 part of hybrid file (by default KF8 part is parsed)

Diagnostics

       For diagnostics libmobi must be configured with --enable-debug option.

Examples

       The following command decompiles given mobi document. The output folder will be created in /tmp.

             %mobitool-s-o/tmpexample.mobi

       The following command converts mobi document to epub format.

             %mobitool-eexample.mobi

Name

       mobitool — Utility for handling MOBI format ebook files.

Return Values

       The mobitool utility returns 0 on success, 1 on error.

See Also

mobimeta(1) mobidrm(1)

Unix                                            February 16, 2022                                    mobitool(1)

Synopsis

mobitool [-cdehimrstuvx7] [-odir] [-ppid] [-Pserial] file

Web Site

       Visit http://www.fabiszewski.net for details.

See Also