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
12
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
...
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 ...
5
votes
Calibre: Author with the word "and" in the name?
You can change default behaviour in Preferences/Tweaks:
# Splitting multiple author names
The default setting is:
authors_split_regex = ',?\s+(and|with)\s+'
When you clear that, Calibre won't split ...
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:...
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 ...
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 & ...
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 ...
2
votes
Accepted
Can a Kindle Paperwhite show metadata?
The only metadata that is visible to the user in a Kindle Paperwhite is the title and author of the ebooks.
Connecting the Kindle to a PC does only help if you synced your Kindle with Calibre's ...
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 ...
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 ...
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♦
- 2,344
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 ...
1
vote
Accepted
What content should be placed in the PDF Document Properties of a PDF Ebook?
When it comes to filling in PDF document properties, there are a few standard fields that you should consider filling in. As you mentioned, the Author and Title fields are obvious and important.
In ...
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 ...
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 ...
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 ...
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 ...
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" ...
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♦
- 2,344
1
vote
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 ...
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 ...
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 ...
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 ...
1
vote
What are the most appropriate metadata to manage and search ebooks
If I understand correctly, you are asking a multi-faceted question; on how metadata hurts or helps your website and ebook content.
I apologize in advance- if some of this information is repetitive or ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
metadata × 29epub × 13
calibre × 8
pdf × 3
editing × 3
djvu × 2
linux × 2
isbn × 2
opf × 2
cataloguing × 2
kindle-paperwhite × 1
mobi × 1
ebook-management × 1
publishing × 1
image × 1
nook × 1
copyright × 1
adobe-digital-editions × 1
epubcheck × 1
validation × 1
statistics × 1
reference-request × 1
libreoffice × 1
privacy × 1