Thread: Kobo Tweaks
View Single Post
Old 07-25-2014, 05:25 AM   #191
hg-
Junior Member
hg- began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jul 2014
Device: Kobo Aura HD
Standalone file system sync

This might be a bit off topic, but I try this thread to see if any of you could help on this. I'm looking for a way of intiating a database sync of books on the filesystem, i.e. the sync menu alternative in this plugin. But I want to do it from an external activation and not from user interface. This is due to that I side load books with scp to the device, and would like to follow that with a ssh and execute the FS sync. The other method I know of (pretending a usb plug/unplug) have the side effect of disconnecting wifi.

I was thinking of creating a stand alone executable linking to the libnickel.so and execute the
Code:
N3FSSyncManager::sharedInstance()->sync(paths);
. Would that work, after creating the
Code:
N3FSSyncManager
object or would that interfere with the simultaneous running nickel application?

I'm running FW 3.3 on a Kobo Aura HD.
hg- is offline   Reply With Quote