View Single Post
Old 09-28-2017, 10:56 AM   #19
AlanHK
Guru
AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.
 
AlanHK's Avatar
 
Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
Quote:
Originally Posted by Doitsu View Post
When you save and reopen the file, Sigil will ignore all unmanifested files and you'll no longer get EpubCheck error messages, because unmanifested backup files won't be copied to the temp folder of the book.
However, they'll remain in the epub until you save it again with Sigil at which time they'll gone for good.
OK.
Yes.

test: a.epub 237 KB

1) Use "Open with" calling an app that creates backups.
now 288 kB

2) save file -- the backups are in the archive, but not the manifest.
still 288 kB

3) exit
288 kB

4) re-open file -- backups are still there
288 kB

5) save -- backups are gone
211kB


When testing this I stopped first at step 2, then 4. You have to get to 5 before Sigil finally recreates the epub and cleans house.

So as long as such external edits are not the very final thing you do, the unmanifested backups will be discarded.


So I don't have to audit every epub I've edited for the last year. What a relief.
AlanHK is offline   Reply With Quote