Quote:
Originally Posted by PoP
Thanks for pointing the usefulness of od -a  .
|
You're welcome.
I usually use
od -t x1 for this sort of thing, but many flavors of
od do not support the
-t option.
Quote:
Originally Posted by PoP
In addition to removing DRM, by "touching with Calibre", I meant converting AZW3 to AZW3 or KFX to KFX with the KFX input plugin. This indeed does modify the file length and does cause invalid X-Ray references.
Per your analysis I have to agree that X-Ray matching should be perfect when only sideloading
I never was succesful in testing this though, when I replaced amazon "War and Peace" by its de-DRMed sideloaded copy I never saw the book appearing on the Kindle. It obstinately gave me a message saying "1 item pending download from the cloud" until I gave in, deleted everyting -- sdr directory and book -- and re-downloaded a fresh copy from amazon.
Makes me wonder of the correct procedure for moving an original sdr directory + its de-DRMed book to another ereader.
|
Even before getting interested in X-ray, I have only ever copied the azw3 file and when I open it a fresh .sdr directory gets created. I've never regretted not getting benefit from whatever was in the original .sdr; it was a pleasant surprise to find that copying the XRAY.entities.{ASIN}.asc file to the new .sdr works fine.
Managing books seems to be getting more complicated. As near as I can tell, copying an AZW3 directly to /mnt/us/documents then turning airplane mode off, the Kindle will delete the AZW3 and download the KFX version of the book if there is one. But if I do the same except to a subdirectory of documents, the Kindle leaves the AZW3 alone and downloads an XRAY file if there is one for the book.