That's quite an old post, but I had a really similar need: while copying some epub via ssh, I wanted the folder to be refreshed so that my books could appear on the list.
I've found the below solution to work for me by simulating an USB plug/unplug:
1. create a file in kobo's disk: /tmp/root/refreshKobo.sh with the below content:
Quote:
echo usb plug add >> /tmp/nickel-hardware-status
sleep 15
echo usb plug remove >> /tmp/nickel-hardware-status
|
2. add the files in folders (e.g. in /mnt/onboard/ebooks/ ...)
3. run the script
sh /tmp/root/refreshKobo.sh
4. Your Kobo will ask if you want to connect, click on the "Connect" button.
5. wait for it
6. Your new books should now appear in the library !