View Single Post
Old 08-30-2015, 10:04 AM   #1
Francois_C
Zealot
Francois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipse
 
Francois_C's Avatar
 
Posts: 106
Karma: 8300
Join Date: Jul 2012
Location: France
Device: Kobo Aura H2O, Kobo Touch, Kobo Mini
"Add file" security, please;)

There is a fine feature in Calibre, which allows adding a new file (ODT, DOCX, etc) file into an existing book folder.
But I had just a rather annoying misadventure: I often convert epubs with lots of mistakes into DOCX, then I save them into ODT, and work on the ODT with Libreoffice before I convert them back to epub. So I had worked for hours on an ODT, and corrected thousands of mistakes; the file was already nearly clean, I made an epub with Amanuensis, then thought that having my ODT known by Calibre would be pretty secure, in case one change in the metadata would have modified the name of the folder and erased all files which were unknown to Calibre.
So I added my ODT to Calibre (right-click on add books and so on)… then, in order to check the result, I converted the ODT into epub with Calibre. Horror! I got another book by the same writer!
What happened to me? When importing my ODT I chose the wrong folder, and Calibre silently overwrote my existing copy which cost me so much work with a renamed copy of the other book.
I had noticed this eventuality before, but this is the first time I'm completely unable to recover my work, for I usually keep several safety copies: The ODT was overwritten by the renamed one, and, of course, even the Amanuensis epub which would have kept my work had just been overwritten by my unfortunate test.
I know I was wrong, an totally ridiculous, as I lost my work by fear of losing it, but maybe a small "if exist" test when importing a new file would avoid this?
Francois_C is offline   Reply With Quote