14 votes

Command line extraction of metadata (title. author) from epub file

exiftool can read (but not write) epub meta data. For example exiftool -T -Title main.epub
pheon's user avatar
  • 241
13 votes
Accepted

Command line extraction of metadata (title. author) from epub file

Here's a quick bash script (with no error-checking whatsoever) to do what you want: #!/bin/bash # if [ $# -lt 3 ] then echo echo "Usage: minfo -m <meta-type> <epub-file>" echo ...
beaker's user avatar
  • 630
7 votes

Command line extraction of metadata (title. author) from epub file

An EPUB file is just a zip file, and the book's metadata is contained in the OPF (Open Packaging Format) file, which is an XML file. The title is located in the /package/metadata/dc:title element. The ...
thinkulum's user avatar
  • 416
4 votes

Command line extraction of metadata (title. author) from epub file

To print out epub metadata, exiftool yourbook.epub To edit the metadata, you'd need to unzip it and then zip it back again, as mentioned by others, epub is just a zip file mkdir tempfolder mv ...
GypsyCosmonaut's user avatar
4 votes

Can a custom column with "Date" type be added to the tag browser?

Yes, you can accomplish that using SubGroups in Calibre. The way to do a subgroup is described here (for user entered Genres) but I'll do the TL;DR below for how to do it with publication dates: https:...
GaetaWoo's user avatar
  • 141
4 votes

Command line extraction of metadata (title. author) from epub file

with Calibre's ebook-meta Example output of ebook-meta unixpowertools.epub: Title : UNIX Power Tools, 3rd Edition Author(s) : Jerry Peek, Shelley Powers, Tim O’Reilly & ...
Matthias Braun's user avatar
2 votes

Command line extraction of metadata (title. author) from epub file

Ok, so since nobody has ANY info on this online and this is the top search results. Here is what you are looking for. exiftool -a -u -g1 nameofthe.epub. This line gives you a giant output of all the ...
SuperMar1o's user avatar
2 votes

Can a custom column with "Date" type be added to the tag browser?

It seems that this is not directly possible, but you can add an additional column to achieve something like this: Go to Preferences → Add your own columns Add custom column: Give it a name and a ...
unor's user avatar
  • 173
2 votes

Universal Identification metadata for e-books

This is a great question, and I don't have any inside knowledge about how search engines interpret metadata for books. I checked the source of several book distributors and found that there's an ...
idiotprogrammer's user avatar
2 votes

How to rename epubs when the file name is a numeric string?

I wrote a small python script to do that. pip install epub Install the epub library and run the below script with a sibling directory containing all your epub files to be renamed. import os import ...
sam's user avatar
  • 21
2 votes

Genres/ Subjects/ Categories in epub's metadata

This field comes from the Dublin Core (DC) metadata standard, which is useful for interoperability between software and databases. I don't think there has emerged an accepted way to use DC metadata ...
idiotprogrammer's user avatar
2 votes

How to check the current copyright status of books?

ISBN does not give information about the copyright status of the book: ISBN numbers are just identifiers, and publishers buy them in bunches. For books published after 1978, copyright usually extends ...
mau's user avatar
  • 2,364
1 vote
Accepted

Metadata for Epubs

The correct way to include these according to the EPUB 3.2 standard is as follows. For each of the "titles", you'd include a title element along with a meta element to specify which sort of ...
John O's user avatar
  • 151
1 vote

Metadata for Epubs

Calibre allows you to edit metadata, though I don't know if it's just that stored in Calibre's database, as opposed to that in the .epub file itself. However, there are word processors, e.g., free ...
DrMoishe Pippik's user avatar
1 vote

Adding metadata to DjVu

You don't need xmp to set a simple metadata for a document. Just create a text file, (for ex. "meta.txt") with following content: "author" "Author Name" "title" ...
truf's user avatar
  • 141
1 vote

How to bulk renaming ebooks

since nobody answered, I did a search and found ebook-tools. Probably organize-ebooks.sh would have been the best choice, but I tried rename-calibre-library.sh and after a long sed script I ended up ...
mau's user avatar
  • 2,364
1 vote
Accepted

What tag use is expected in an ePub toc.xhtml?

If you are not going to use a ncx, my answer is no, you don't need to change this xhtml file at all. I'm going to guess here. ns:ncx means that you are using a namespace called "ncx." A namespace is ...
idiotprogrammer's user avatar
1 vote

How to rename epubs when the file name is a numeric string?

For Windows cmd.exe: ren 12345.epub mybookname.epub For linux based OS: mv 12345.epub mybookname.epub For Windows gui: use file manager, click once on the file. Hit F2 to enter "rename mode". Only the ...
Bulrush's user avatar
  • 367
1 vote

How to rename epubs when the file name is a numeric string?

The question is not too clear. Is it the case that you simply want to rename the file containing the epub book, so that the name of the file is then the title of the book with the suffix .epub? That ...
babou's user avatar
  • 1,222
1 vote

Calibre - switching title and series column

Calibre - switching title and series column There may be no elegant way to do what you're asking, but there is a way. Create a temporary column to hold copied titles place your cursor over any ...
Y Quan's user avatar
  • 11
1 vote

Calibre - switching title and series column

No, there isn't a one click solution for swapping series and title. You can only swap title and author (in bulk metadata edit mode). If you want to automate this you have to write a (small) program ...
Anthon's user avatar
  • 7,641

Only top scored, non community-wiki answers of a minimum length are eligible