View Single Post
Old 01-09-2019, 05:01 PM   #12
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 14,683
Karma: 12617198
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by EmilThelonius View Post
<snip> . . .

Calibre stores its tags (and other metadata) in an metadata.opf file next to the PDF, Epub or Mobi in the same directory. To access the metadata of calibre you need the calibredb command line, the ID of the book, the Tag you want to add and . . .

<snip>
Clarification: calibre stores the metadata in the metadata.db sqlite database file that's found in every library folder. The calibredb command reads and writes to that file, as does the calibre GUI.

The metadata.opf files in the book folders, along with any metadata_db_prefs_backup.json file in the library folder, are the means to restore the metadata.db database should it become corrupt.

BR
BetterRed is online now   Reply With Quote