View Single Post
Old 09-30-2023, 01:00 PM   #3
kjdavies
Zealot
kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.
 
Posts: 112
Karma: 53342
Join Date: Jun 2013
Device: Sony PRS-600
Quote:
Originally Posted by theducks View Post
Does calibredb --automerge, -m work?

If books with similar titles and authors are found, merge the incoming formats (files) automatically into existing book records. A value of "ignore" means duplicate formats are discarded. A value of "overwrite" means duplicate formats in the library are overwritten with the newly added files. A value of "new_record" means duplicate formats are placed into a new book record.

the number in the containing Folder is the books {ID} if that helps
Not what I'm looking for. The books are already in the library, I'm confident they are the same book (bitwise identical), but I want to merge the the metadata.

I'm thinking of a command something like

Code:
calibredb merge id1 id2 id3
If I've got a '#notes' custom column, and the three titles with IDs id1, id2, id3 have #notes values of 'Note 1', 'Note 2', and 'Note 3', when I merge via the GUI I get a #notes value of 'Notes1\n\nNotes2\n\nNotes 3'. Taglike fields are similarly aggregated and the union stored in the result.
kjdavies is offline   Reply With Quote