1mobimeta(1) User's Reference Manual mobimeta(1)
2
4 mobimeta — Utility for modifying metadata of MOBI format ebook files.
5
7 mobimeta [-a meta=value[,meta=value,...]] [-d meta[,meta,...]]
8 [-s meta=value[,meta=value,...]] [-p pid] [-P serial] filein
9 [fileout]
10
12 The program handles .prc, .mobi, .azw; .azw3, .azw4, some .pdb documents.
13 Written as a test case for libmobi library.
14
15 Invoked without arguments prints document metadata and exits. If fileout
16 is specified, modified document will be saved with this name, otherwise
17 original input filein will be modified.
18
19 A list of flags and their descriptions:
20
21 -a meta=value[,meta=value,...]
22 add (append) metadata
23
24 -d meta[,meta,...]
25 delete metadata
26
27 -s meta=value[,meta=value,...]
28 set (replace) metadata
29
30 meta for a list of valid named meta keys try mobimeta {-a | -d | -s}
31 ?. If meta is an integer it will be treated as a numeric EXTH
32 record key (expert usage).
33
34 value new value that will be set for a given meta key
35
36 -p pid set pid for decryption
37
38 -P serial
39 set device serial number for decryption
40
41 -v show version and exit
42
44 The following command will set new title, new author and will delete all
45 publisher metadata (if any).
46
47 mobimeta -s title="My title",author="My name" -d publisher exam‐
48 ple.mobi
49
50 The following command appends EXTH record identified by its numeric key
51 204 with numeric value 201.
52
53 mobimeta -a 204=201 example.mobi
54
55 The following command will list valid meta named keys.
56
57 mobimeta -a ?
58
60 The mobimeta utility returns 0 on success, 1 on error.
61
63 Copyright (C) 2014-2016 Bartek Fabiszewski.
64
65 Released under LGPL version 3 or any later (same as libmobi).
66
68 Visit http://www.fabiszewski.net for details.
69
71 For diagnostics libmobi must be configured with [--enable-debug] option.
72
74 mobitool(1)
75
76Unix April 18, 2016 Unix