1mobitool(1) User's Reference Manual mobitool(1)
2
4 mobitool — Utility for handling MOBI format ebook files.
5
7 mobitool [-cdeimrsuvx7] [-o dir] [-p pid] [-P serial] file
8
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 -c dump cover
18
19 -d dump rawml text record
20
21 -e convert mobi to epub
22
23 -i print detailed metadata
24
25 -m print records metadata
26
27 -o dir save output to dir folder
28
29 -p pid set pid for decryption
30
31 -P serial
32 set device serial number for decryption
33
34 -r dump raw records
35
36 -s dump recreated source files
37
38 -u show rusage (diagnostics)
39
40 -v show version and exit
41
42 -x extract conversion source and log (if present)
43
44 -7 parse KF7 part of hybrid file (by default KF8 part is parsed)
45
47 The following command decompiles given mobi document. The output folder
48 will be created in /tmp.
49
50 mobitool -s -o /tmp example.mobi
51
52 The following command converts mobi document to epub format.
53
54 mobitool -e example.mobi
55
57 The mobitool utility returns 0 on success, 1 on error.
58
60 Copyright (C) 2014-2016 Bartek Fabiszewski.
61
62 Released under LGPL version 3 or any later (same as libmobi).
63
65 Visit http://www.fabiszewski.net for details.
66
68 For diagnostics libmobi must be configured with [--enable-debug] option.
69
71 mobimeta(1)
72
73Unix June 23, 2020 Unix