1mobitool(1)                 User's Reference Manual                mobitool(1)
2

NAME

4     mobitool — Utility for handling MOBI format ebook files.
5

SYNOPSIS

7     mobitool [-deimrsuvx7] [-o dir] [-p pid] [-P serial] file
8

DESCRIPTION

10     The program handles .prc, .mobi, .azw; .azw3, .azw4, some .pdb documents.
11     Written as a test case for libmobi library.
12
13     Invoked without arguments prints document metadata and exits.
14
15     A list of flags and their descriptions:
16
17     -d       dump rawml text record
18
19     -e       convert mobi to epub
20
21     -i       print detailed metadata
22
23     -m       print records metadata
24
25     -o dir   save output to dir folder
26
27     -p pid   set pid for decryption
28
29     -P serial
30              set device serial number for decryption
31
32     -r       dump raw records
33
34     -s       dump recreated source files
35
36     -u       show rusage (diagnostics)
37
38     -v       show version and exit
39
40     -x       extract conversion source and log (if present)
41
42     -7       parse KF7 part of hybrid file (by default KF8 part is parsed)
43

EXAMPLES

45     The following command decompiles given mobi document. The output folder
46     will be created in /tmp.
47
48           mobitool -s -o /tmp example.mobi
49
50     The following command converts mobi document to epub format.
51
52           mobitool -e example.mobi
53

RETURN VALUES

55     The mobitool utility returns 0 on success, 1 on error.
56
58     Copyright (C) 2014-2016 Bartek Fabiszewski.
59
60     Released under LGPL version 3 or any later (same as libmobi).
61

WEB SITE

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

DIAGNOSTICS

66     For diagnostics libmobi must be configured with [--enable-debug] option.
67

SEE ALSO

69     mobimeta(1)
70
71Unix                            March 21, 2016                            Unix
Impressum