I was getting miffed about calibre setting 'Modified Date' on a book whenever it unexpectedly changed something in the metadata for a group of unrelated books. I suspect that it was due to tag changes or something similar that had a global impact.
To resolve this issue I create update_modified, an offline tool that will, by default, reset the 'Modified Date' for a book to the youngest ebook file in that book's filesystem directory. It will not use the date of the opf file unless you request that the opf file date be used.
- The tool is written in .net 9 since that is what I've been using at work.
- It is offline since it uses 'calibredb' for all the database work. Seemed more future proof than direct sqlite.
The source and binaries are available at
https://github.com/elamide/update_modified. Usage is described on the github readme.
-Tim