View Single Post
Old 03-21-2011, 09:25 AM   #3
kidpixo
Member
kidpixo began at the beginning.
 
kidpixo's Avatar
 
Posts: 19
Karma: 10
Join Date: Mar 2011
Location: Berlin , Deutschland
Device: iPad, Kobo Touch (dead)
thanks for the answer! As you said, the method one or two are working fine, I feel just stupid

Quote:
Originally Posted by itimpi View Post
If you are trying to replace a PDF file that is already under Calibre control then you can do one of two things:
  • Replace directly the file that is already in the Calibre library taking care that you do not change the filename. This will work although it is not the recommended method.
thatīs what I did, and it worked fine until I tried to fix the file size.

Quote:
Originally Posted by itimpi View Post
  • In the Edit Metadata dialog add a file that is NOT under Calibre control using either drag-and-drop to the Formats window or via one of the Add buttons. This is the recommended way to do things.
What you must NOT do (and I think you are trying to do) is to try and combine these methods and use the second of the above options to try and add again the file that is already under Calibre control. This will go wrong because Calibre always takes a copy when adding a file and this results in calibre trying to copy the file to itself.
I agree, but why at the end it results in a zero-length file?
It should keep the old version (size X,letīs say) or the new one (X-1 size).

I assume that calibre keeps the new file (wherever it is), then erases the old one and makes a copy of the new new one in the position once occupied by the old file.

Add to this picture that I overwrite the new on the old file and you see the problem.

That sounds like a program bug to me, even if my action was not standard: shouldn't be here a sort of idiot-protection?

bye!
kidpixo is offline   Reply With Quote