View Single Post
Old 12-15-2021, 10:49 AM   #31
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,937
Karma: 6361444
Join Date: Nov 2009
Device: many
Unfortunately not. The actual epub is opened into a temp area (with all files copied in) and Sigil processes it from there. Saving a file or save-as takes those files and recreates the epub. It does not replace members in the existing epub it only overwrites the epub file. So file modification dates in the epub/zip are meaningless.

To track changes you will either need to use Sigil's checkpoints and in its diff capability, or git or possibly effectively do what github does and hash/checksum each file to see which are changed in the zip from a prior version to know what changed outside of Sigil.



Checkpoints would probably be easiest, but if your work process goes outside Sigil, then git or a python script to compare two versions of an epub using checksums would be helpful.

Last edited by KevinH; 12-15-2021 at 10:51 AM.
KevinH is offline   Reply With Quote