I'm using Linux and Calibre 2.75.
I have a lot of ebooks (EPUB format) that are created or updated automatically via a script. I want to import these books into Calibre so that they can be searched / served. This is easy the first time, but if I update one or more books, I want to be able to re-import the entire collection, but only have the changed books updated in Calibre. (Updates are generally because of new/better templates, additional metadata, or added chapters to existing books.)
I have tried the following:
- calibredb add without --duplicates
Result: no books were imported / updated (because they already exist).
- calibredb add with --duplicates
Result: two entries for every book in the collection, the second with updated metadata.
- Calibre GUI add all books from a subdirectory
Result: two entries for every book in the collection, the second with updated metadata.
- Calibre GUI add all books from a subdirectory, with automerge set to overwrite duplicates of existing formats.
Result: all books were imported / updated, even the ones that hadn't changed. Cover thumbnails for existing books that did not have embedded covers were not updated.
I would greatly appreciate suggestions.
If I need to write a script, I would rather write a standalone script instead of a plugin (so I can just add it to my normal publish process).
- Craig -