View Single Post
Old 12-15-2016, 03:34 PM   #3
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,784
Karma: 30237628
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by fidvo View Post
Restoring from the recycle bin only puts the file back in its original folder. It does not add the entry back to the database. As far as Calibre is concerned, it's now just an extra file in the data folder that shouldn't be there.
On Windows at least, when a book is removed from a library, the book folder is moved to a temporary folder within the library's parent directory, and it is that folder than gets moved to the Recycle Bin.

So when you do a Restore from the Recycle Bin it is the temporary folder than gets restored. You can then use its content to add the book back into the library, then you will probably want to delete the restored temporary folder.

Click image for larger version

Name:	attachment.jpg
Views:	468
Size:	175.1 KB
ID:	153595

I'm not 100% sure, but I think the same basic process happens on OSX and Linux.

Note that I have not unchecked the Show this dialogue again checkbox in the 'Are you sure' message, in part because restoration of a deleted book is not just a matter of opening the Recycle Bin and doing a restore - instead it requires a Recycle Bin restore, a calibre add book, and a File Manager folder delete.

I normally find it easier to recover a wrongfully deleted book from back-up.

BR

Last edited by BetterRed; 12-16-2016 at 05:23 AM. Reason: added and arrow and comment to screen shot
BetterRed is offline   Reply With Quote