Open dauthiatull opened 8 years ago
I would also be interested in this. I don't have enough unix knowledge to know how to use the output of monitor
. Maybe an example script could be useful?
Would also be useful to me. Incidentally - I can't get the timeout to work with monitor. Maybe I'm putting the wrong syntax in or something
I've tried ../dropbox_uploader.sh monitor / TIMEOUT ../dropbox_uploader.sh monitor / 1
it comes back and says monitoring "/" for changes and then
FAILED to longpoll (http error): Error in call to API function "files/list_folder/longpoll": request body: could not decode input as JSON
If I can get this to work, then I think the way to get the download to work would be to follow it with
../dropbox_uploader.sh -s download / (just to download new files, or without the -s to download all), then restart the monitor
can the monitor function also auto download changed files when detected?