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

mobimeta — Utility for modifying metadata of 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. If fileout is specified, modified document
       will be saved with this name, otherwise original input filein will be modified.

       A list of flags and their descriptions:

       -ameta=value[,meta=value,...]
                add (append) metadata

       -dmeta[,meta,...]
                delete metadata

       -smeta=value[,meta=value,...]
                set (replace) metadata

       meta     for a list of valid named meta keys try mobimeta {-a | -d | -s} ?.  If meta  is  an  integer  it
                will be treated as a numeric EXTH record key (expert usage).

       value    new value that will be set for a given meta key

       -ppid   set pid for decryption

       -Pserial
                set device serial number for decryption

       -h       show usage summary and exit

       -v       show version and exit

Diagnostics

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

Examples

       The following command will set new title, new author and will delete all publisher metadata (if any).

             %mobimeta-stitle="Mytitle",author="Myname"-dpublisherexample.mobi

       The following command appends EXTH record identified by its numeric key 204 with numeric value 201.

             %mobimeta-a204=201example.mobi

       The following command will list valid meta named keys.

             %mobimeta-a?

       Or in case your shell expands quotation mark:

             %mobimeta-a"?"

Name

       mobimeta — Utility for modifying metadata of MOBI format ebook files.

Return Values

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

See Also

mobitool(1) mobidrm(1)

Unix                                            February 16, 2022                                    mobimeta(1)

Synopsis

mobimeta  [-ameta=value[,meta=value,...]] [-dmeta[,meta,...]] [-smeta=value[,meta=value,...]] [-ppid]
                [-Pserial] [-hv] filein [fileout]

Web Site

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

See Also