DOKK / manpages / debian 12 / libmobi-tools / mobitool.1.en
mobitool(1) General Commands Manual (urm) mobitool(1)

mobitoolUtility for handling MOBI format ebook files.

mobitool [-cdehimrstuvx7] [-o dir] [-p pid] [-P serial] file

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:

dump cover
dump rawml text record
convert mobi to epub
show usage summary and exit
print detailed metadata
print records metadata
dir
save output to dir folder
pid
set pid for decryption
serial
set device serial number for decryption
dump raw records
dump recreated source files
split hybrid file into two parts: mobi and azw3
show rusage (diagnostics)
show version and exit
extract conversion source and log (if present)
parse KF7 part of hybrid file (by default KF8 part is parsed)

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

% mobitool -s -o /tmp example.mobi

The following command converts mobi document to epub format.

% mobitool -e example.mobi

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

Copyright (C) 2014-2022 Bartek Fabiszewski.

Released under LGPL version 3 or any later (same as libmobi).

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

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

mobimeta(1) mobidrm(1)

February 16, 2022 Unix