Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 06-28-2018, 07:28 PM   #1
Georgie W
Connoisseur
Georgie W began at the beginning.
 
Georgie W's Avatar
 
Posts: 84
Karma: 10
Join Date: Jan 2014
Location: Scotland
Device: KT4 5.13.6
Extra .sdr files

Since about March 2018, I'm getting extra .sdr folders created in the Documents directory on my Kindle PW3 for every book I open and read.

So I have the original author folder (Christie), and inside that, an .sdr folder for "Murder on the Orient Express". But if I read the book, I get a second MotOE .sdr file created in the Documents directory itself. I can delete it from Windows Explorer, but it's a minor irritation. Why are these extra directories being created, and how do I stop them? Any help gratefully received!

I have a JB PW3, on 5.9.4. which hasn't gone on line for the last month (and I'm trying to keep it that way, because it's such a pain getting KUAL to run again after each FW update). I load all books on to the Kindle via Calibre Send to Device.
Thanks.
Georgie W is offline   Reply With Quote
Old 06-29-2018, 01:50 AM   #2
hius07
Wizard
hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.
 
Posts: 1,084
Karma: 3592495
Join Date: Sep 2014
Location: Ukraine
Device: Kindle PW2, PW3, PW4, Voyage
You cannot stop creating them.
You can clean up the orphan .sdr with the KUAL extention or with the desktop app.
hius07 is offline   Reply With Quote
Advert
Old 06-30-2018, 04:03 AM   #3
baalajimaestro
Expecto Patronum!
baalajimaestro ought to be getting tired of karma fortunes by now.baalajimaestro ought to be getting tired of karma fortunes by now.baalajimaestro ought to be getting tired of karma fortunes by now.baalajimaestro ought to be getting tired of karma fortunes by now.baalajimaestro ought to be getting tired of karma fortunes by now.baalajimaestro ought to be getting tired of karma fortunes by now.baalajimaestro ought to be getting tired of karma fortunes by now.baalajimaestro ought to be getting tired of karma fortunes by now.baalajimaestro ought to be getting tired of karma fortunes by now.baalajimaestro ought to be getting tired of karma fortunes by now.baalajimaestro ought to be getting tired of karma fortunes by now.
 
baalajimaestro's Avatar
 
Posts: 137
Karma: 342260
Join Date: May 2017
Location: Chennai, India
Device: Kindle PW2(9017) 4GB, FW 5.7.4
They are intended to be created. Only thing is you can remove only orphaned sdr. Not the one that has a book on the drive. It'll get regenerated anyway.
baalajimaestro is offline   Reply With Quote
Old 06-30-2018, 01:43 PM   #4
PoP
 curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.
 
PoP's Avatar
 
Posts: 3,008
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
Quote:
Originally Posted by hius07 View Post
...
You can clean up the orphan .sdr with the KUAL extention...

In addition, I added
Code:
find /mnt/us/documents -depth -type d -exec rmdir {} \;
at the end of the remove.sh script to also prune empty directories.
PoP is offline   Reply With Quote
Old 06-30-2018, 02:03 PM   #5
Georgie W
Connoisseur
Georgie W began at the beginning.
 
Georgie W's Avatar
 
Posts: 84
Karma: 10
Join Date: Jan 2014
Location: Scotland
Device: KT4 5.13.6
Thanks to all for comments and suggestions - I'll try the KUAL extension. Still puzzled as to why the files should be created in the first place - maybe came in with 5.9.2.1, but it's messy.
Georgie W is offline   Reply With Quote
Advert
Old 06-30-2018, 03:45 PM   #6
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
They're mostly cache/index/settings so-called "sidecar" files needed by various parts of the reader for various things (mostly, performance, and keeping track of stuff).

New features and/or code changes mean new/different files.
NiLuJe is offline   Reply With Quote
Old 12-16-2018, 09:33 PM   #7
mergen3107
Wizard
mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.
 
mergen3107's Avatar
 
Posts: 1,335
Karma: 4752930
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
Do you guys know what indices are used in these folders?
Besides .apnx files, there are sometimes .azw3f and .awz3r files (it is when you create bookmarks, highlights and notes).
So if you tranfer a book (with highlights and stuff), let's say, in azw3 + its respective .sdr folder, then you can read these highlights and stuff. However, new kindle will create its own azw3f and azw3r files, but with own indices.

For example, take this book and put it on your Kindle.
If you do everything right, you'll see my bookmark, highlight and a note on the first page.

So I want to write a script to "adapt" these highlights for easy sharing.
I don't know how to generate these indices.
mergen3107 is offline   Reply With Quote
Old 06-18-2019, 09:06 PM   #8
Two Rocks
Junior Member
Two Rocks began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jul 2016
Device: Kindle Voyage, Nook Glowlite
Superfluous *.SDR Folders

I believe the reason there are two *.sdr folders for every book is because one is created by Calibre when the book is sideloaded onto the Kindle, and the second is created by the Kindle when the book is opened. Prior to sometime late '17 / early '18, Kindle would use the *.sdr folder created by Calibre, even though it was buried in the folder hierarchy. A change in the Kindle OS has blinded Kindle to the existence of the Calibre-created *.sdr folder, so it creates another when the book is opened. This makes the Calibre-created *.sdr folder superfluous, and it can be deleted at any time. Not sure why Calibre continues to create a folder that will not be used?

The above statements are my belief, based on experience and small indications such as file creation dates, etc. They are not fact, based on actual knowledge of Calibre and Kindle OS. Perhaps someone with actual knowledge can chime in and let us know the truth of the matter.
Two Rocks is offline   Reply With Quote
Reply

Tags
5.9.4, pw3, sdr


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Extra files in fbreader kblechman Android Devices 0 01-11-2018 02:26 PM
ebook-convert creates extra split.htm files, with random text, inserts at hard breaks Dyspeptica Conversion 1 02-12-2017 01:50 AM
No .apnx in .sdr folder when using calibre to send to kindle device ellentk Calibre 17 04-01-2015 10:00 PM
.SDR folders empty when loading MOBI covers on Kindle Paperwhite abarnard Library Management 1 12-25-2012 10:57 PM
Check Library, Extra Authors, Extra Titles copyrite Calibre 2 08-03-2012 02:35 PM


All times are GMT -4. The time now is 02:24 PM.


MobileRead.com is a privately owned, operated and funded community.