LinuxCommandLibrary

ebook-meta

TLDR

Show metadata

$ ebook-meta [book.epub]
copy
Set title
$ ebook-meta [book.epub] --title "[New Title]"
copy
Set author
$ ebook-meta [book.epub] --authors "[Author Name]"
copy
Set cover
$ ebook-meta [book.epub] --cover [cover.jpg]
copy
Get cover image
$ ebook-meta [book.epub] --get-cover [cover.jpg]
copy
Set multiple fields
$ ebook-meta [book.epub] --title "[Title]" --authors "[Author]" --publisher "[Publisher]"
copy

SYNOPSIS

ebook-meta file [options]

DESCRIPTION

ebook-meta reads and writes metadata in ebook files. Part of Calibre, it handles various formats including EPUB, MOBI, AZW3, and PDF.
The tool can display existing metadata and modify fields like title, author, publisher, date, and cover image without converting the file.

PARAMETERS

--title title

Set book title.
--authors names
Set authors (comma-separated).
--publisher name
Set publisher.
--date date
Set publication date.
--isbn isbn
Set ISBN.
--tags tags
Set tags (comma-separated).
--series name
Set series name.
--series-index n
Set position in series.
--cover file
Set cover from image.
--get-cover file
Extract cover to file.
--language lang
Set language.
--comments text
Set description/comments.

CAVEATS

Not all formats support all metadata fields. PDF metadata limited. Changes are in-place by default. Some metadata requires specific format support.

HISTORY

ebook-meta is part of Calibre, created by Kovid Goyal in 2006. It provides command-line access to Calibre's metadata editing capabilities, essential for batch processing and scripting.

SEE ALSO

Copied to clipboard