Quote:
Originally Posted by jackie_w
It's not quite the same though, is it? As far as I understand, when you open an epub in the editor it is exploded into a directory (or directories for multiple Checkpoints) within your calibre TEMP directory and all your edits are on exploded temp files not the original epub. So the OS wouldn't know the original epub and the temp files are related. I make no comment on whether calibre knows they're related, because I don't know.
I think the original epub itself only re-enters the scene when you Save.
I'm sure someone will put me right if this is wrong.
|
I would have thought it needed to open the EPUB to explode it into Temp
Just as an EPUB is a rebadged ZIP so also is a DOCX. So I would imagine Word has to do something similar to Explode to create its workfile.
You can see Words workfile, if you unhide hidden files - it will have ~$ in front of the name - but its the input file, ie the DOCX that's in the library, that gets locked. And Word wont write to that DOCX until you do a save, just like ebook_editor won't with an EPUB. If Word can lock its input file when it opens it then...
Not all 3rd party programs lock their input file, eg WinRAR doesn't. So if you move a book that has a ZIP that's open in WinRAR to which you've added some files but not done a save then calibre will do the move and when you do the save in WinRAR then it will throw a
No such file or directory error, there is nothing calibre can do about that.
BR