Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Onyx Boox

Notices

Reply
 
Thread Tools Search this Thread
Old 06-11-2024, 07:16 PM   #1
porphyry5
Connoisseur
porphyry5 began at the beginning.
 
Posts: 69
Karma: 10
Join Date: Apr 2013
Device: Kobo Clara, Onyx Boox Monte Cristo
How use adb to push files to SDcard in MonteCristo5

Trying to put dictionary files for koreader on MonteCristo5
Cannot get adb to recognize destination directory
Device itself shows destination directory as Storage/external_sd/koreader/data/dict
adb persistently reports target is not a directory, e.g.
Code:
~/Downloads/MonteCristo/dict $ adb push res dict-data.dict.dz dict-data.idx dict-data.ifo dict-data.syn  Storage/external_sd/koreader/data/dict
adb: error: target 'Storage/external_sd/koreader/data/dict' is not a directory

~/Downloads/MonteCristo/dict $ adb push res dict-data.dict.dz dict-data.idx dict-data.ifo dict-data.syn  external_sd/koreader/data/dict
adb: error: target 'external_sd/koreader/data/dict' is not a directory
It is the only device connected to my laptop.

What should I be doing instead?
porphyry5 is offline   Reply With Quote
Old 06-12-2024, 02:09 PM   #2
Renate
Onyx-maniac
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
Posts: 3,193
Karma: 12537601
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
I'm not sure what you're doing there.
Code:
adb push <source> <destination>
You've got too many words in a row.
Renate is offline   Reply With Quote
Advert
Old 06-12-2024, 04:23 PM   #3
porphyry5
Connoisseur
porphyry5 began at the beginning.
 
Posts: 69
Karma: 10
Join Date: Apr 2013
Device: Kobo Clara, Onyx Boox Monte Cristo
Quote:
Originally Posted by Renate View Post
I'm not sure what you're doing there.
Code:
adb push <source> <destination>
You've got too many words in a row.
By above I thought you meant you can only push one item at a time, so I did
Code:
 $ adb push  dict-data.idx external_sd/koreader/data/dict
adb: error: failed to copy 'dict-data.idx' to 'external_sd/koreader/data/dict':
    remote No such file or directory
dict-data.idx: 0 files pushed. 20.6 MB/s (65528 bytes in 0.003s)
Same problem. it's trying to do what I want, but it claims the destination directory does not exist. But according to the device it does exist and shows it exactly as I've put it in the command.
porphyry5 is offline   Reply With Quote
Old 06-12-2024, 04:39 PM   #4
DenisR
Connoisseur
DenisR is the king of the Divan.DenisR is the king of the Divan.DenisR is the king of the Divan.DenisR is the king of the Divan.DenisR is the king of the Divan.DenisR is the king of the Divan.DenisR is the king of the Divan.DenisR is the king of the Divan.DenisR is the king of the Divan.DenisR is the king of the Divan.DenisR is the king of the Divan.
 
Posts: 66
Karma: 106252
Join Date: Apr 2018
Device: Onyx Boox Max2
Hello,
I think you did not enter the destination path. From adbshell :
https://adbshell.com/commands/adb-push

copy local files/directories to Android device :
adb push pc.apk /mnt/sdcard/Download/test.apk


You should enter the path as it is defined from the point of view of your PC. Check it in a file manager !
DenisR is offline   Reply With Quote
Old 06-15-2024, 02:56 PM   #5
porphyry5
Connoisseur
porphyry5 began at the beginning.
 
Posts: 69
Karma: 10
Join Date: Apr 2013
Device: Kobo Clara, Onyx Boox Monte Cristo
Quote:
Originally Posted by DenisR View Post
Hello,
I think you did not enter the destination path. From adbshell :
https://adbshell.com/commands/adb-push

copy local files/directories to Android device :
adb push pc.apk /mnt/sdcard/Download/test.apk


You should enter the path as it is defined from the point of view of your PC. Check it in a file manager !
Using this filepath gets me 'Permission Denied' response, whether I use sudo or not.
But I found that KOreader has finally got its Dictionary download site working, so I got what I needed from there.

KOreader also lets you examine the entire directory structure of the device it is installed on, so I searched through them to see exactly where the dictionaries are installed. I did not find them, but they are installed and work just fine.

So the problem is now moot, and remains a mystery. I thank you for your help.
porphyry5 is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
902 Big files and SDcard Jazitricks PocketBook 1 07-02-2012 03:42 PM
Hacks Push files to Kindle (unattended, untethered) kfried Amazon Kindle 11 01-05-2012 12:14 AM
Help with adb Thibor Nook Developer's Corner 5 12-05-2010 08:22 AM
Can I edit (or even view) .txt files imported from sdcard? Dragginz enTourage Archive 6 06-30-2010 03:18 PM
Classic Using Adb rdfry Barnes & Noble NOOK 5 02-27-2010 09:19 PM


All times are GMT -4. The time now is 12:37 PM.


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