Recursive refresh script using linux python agent

Hi all,
In case it helps anybody, here is a simple recursive refresh script that will recursive run through all your directories and subdirectories and upload any files that might have been changed:
find ~/odrive-agent-mount/ -type d -exec python “$HOME/.odrive-agent/bin/odrive.py” refresh “{}” ;

(change ~/odrive-agent-mount/ to wherever your odrive is mounted)
schedule the task in cron on linux to run it every 15 minutes or so.

I did run into a strange issue where I renamed a folder and the text file in it, and the textfile didn’t upload anymore. Any new text files I added to that folder didn’t upload either. I tried to reproduce the problem with another folder but wasn’t able to. If anybody knows what the issue might have been, let me know!

A post was merged into an existing topic: Odrive Sync Agent (beta): A CLI/scriptable interface for odrive’s Progressive Sync Engine for Linux, OS X, and Windows