View Single Post
Old 10-01-2023, 12:19 PM   #10
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 kovidgoyal View Post
No there's no CLI interface for merging metadata.
Thanks Kovid, I was pretty sure. The documentation didn't mention it.

Is it worth submitting an enhancement request? I'm thinking the semantics would be something like

Code:
calibredb merge [options] id1 id2 [... idN]
Options might include
  • --library-path, of course
  • -h,--help, obviously
  • --version
  • setting/adding tag(s) -- user-specified would be nicest, but even a hardcoded 'calibredb-merged-this' would be great
  • setting other metadata (tag could be enough, though)
  • 'safe' (will refuse if it tries to merge two titles with the same format -- my use case specifically is to merge titles with the same formats, I'm deduping, but I can see value to this)
kjdavies is offline   Reply With Quote