Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Dropbox - Sync a single folder
-
TL;DR: I'm looking for a way to implement syncing just one folder out of the entire dropbox account
So I've been using the 2 scripts at http://omz-software.com/pythonista/forums/discussion/10/using-the-dropbox-module/p1 to set up DropBox syncing in Pythonista.
My problem is that I have one folder I want to sync, /Dropbox/Documents. I can't use an app_folder, because the data I want can't be relocated.
The whole 'dropbox' implementation works to a point. I can change the 'path' argument in the 'download_all' method to be just the folder I want (and I also set up an exclusion list, so that I can be picky about what gets synced from that folder). This works until DropboxSync calls 'execute_delta', which then (I think) returns the delta of the entire dropbox, and the console is flooded with 'Not in local' messages, and starts to download those files (... I think).
My inability to pass this block stems in not understanding how DropboxClient.delta() works. Can someone provide more information on this, and direct me as to how I can have delta() only check a certain folder?
Thanks
HJ