KoboCloud icon indicating copy to clipboard operation
KoboCloud copied to clipboard

Does sync mean two-way-sync?

Open ct2034 opened this issue 4 years ago • 6 comments

The description says, this syncs files to cloud services. But from reading the code, it only seems to download them. Am I missing something?

ct2034 avatar Jan 05 '22 16:01 ct2034

Hi Christian see #100

fsantini avatar Jan 05 '22 16:01 fsantini

Hi fsantini. I think #100 deletes files from the device when they are no longer in the cloud. What I am asking for is uploading files that are created or changed on the device to the cloud.

This is not possible, right? Because then I think the term sync is a little misleading. It is more of a download. ;-)

ct2034 avatar Jan 05 '22 16:01 ct2034

Ah yes you are right. There is no upload. It's a one-way sync ;) Upload could potentially be implemented with rclone (see #35 ) but we didn't end up going that way, because it would mean fundamentally changing how the scripts currently operate.

fsantini avatar Jan 05 '22 16:01 fsantini

Oh nice, rclone seems very powerful. I will look into that

ct2034 avatar Jan 05 '22 16:01 ct2034

If you have any good ideas on how to make the rclone stuff better, please make PR (or even just a comment) @ct2034 . I have on to-do list so far:

  1. Make the rclone binary download happen at install time (vs bundling it) from the fixed rclone URL
  2. Update the ARM rclone binary (taken care of by (1) really)
  3. Put each cloned "thing" into a subdirectory (so you can reasonably have >1 RCLONE foo line)

If you wanted to add to that list (like, figure out a sane 2-way sync), or implement any of those, it'd be appreciated!

ScottESanDiego avatar Jan 09 '22 18:01 ScottESanDiego

This feature would be greatly appreciated for annotating PDF documents. With Zotero you can use Zotfile to send a specific PDF to a folder, this folder is synchronized with nextcloud and appears on my Kobo thanks to this plugin. Unfortunately, all the highlights I make on the KoReader app are not synced back to Zotero because I realised that the sync is only one way :confused:

krillin666 avatar Apr 14 '22 11:04 krillin666