← 返回命令列表

Linux command

ebook-meta 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Show metadata

ebook-meta [book.epub]

Set title

ebook-meta [book.epub] --title "[New Title]"

Set author

ebook-meta [book.epub] --authors "[Author Name]"

Set cover

ebook-meta [book.epub] --cover [cover.jpg]

Get cover image

ebook-meta [book.epub] --get-cover [cover.jpg]

Set multiple fields

ebook-meta [book.epub] --title "[Title]" --authors "[Author]" --publisher "[Publisher]"

说明

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.

参数

--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.

FAQ

What is the ebook-meta command used for?

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.

How do I run a basic ebook-meta example?

Run `ebook-meta [book.epub]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --title _title_ do in ebook-meta?

Set book title.