View Single Post
Old 09-25-2023, 02:17 PM   #445
ksa
Junior Member
ksa began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2023
Location: Germany
Device: Pocketbook Touch HD 3
Quote:
Originally Posted by DuckieTigger View Post
The easiest is to copy the whole files folder to your computer, then search under that folder for all *.prc files, then select all and copy into a new books folder. Then delete the original files folder. You should not move and delete files on Bluestacks, let the Kindle app do that, so it doesn't get confused.
Unfortunately the Kindle App doesn't remove the folders after removing the content. As I don't really read the books on Bluestack's Kindle App the following batch script, which I created in my platform-tools folder, works fine:

Code:
setlocal
set DLDIR=.\files
set OUTPUTDIR=C:\Users\xxx\Documents\EBookDownload
adb pull /sdcard/Android/data/com.amazon.kindle/files
for /R %DLDIR% %%a in (*.prc) do xcopy "%%a" "%OUTPUTDIR%" /q
rmdir /s/q DLDIR
adb shell rm -r /sdcard/Android/data/com.amazon.kindle/files/B*
The script transfers all .prc files from bluestacks to OUTPUTDIR and cleans up afterwards.
ksa is offline   Reply With Quote