Runs odrive Sync Agent CLI in an official python based docker container.
docker run --rm --name odrive-cli -v "$PWD":/odrive cszubert/odrive-cli
docker exec -it odrive-cli bash
$HOME/.odrive-agent/bin/odrive -h
$HOME/.odrive-agent/bin/odrive status
$HOME/.odrive-agent/bin/odrive authenticate AUTH_KEY
The below command maps the container path /odrive (which can also be mapped to the hosts folder, as with the docker run command above), to root folder on odrive (which includes all odrive contents).
$HOME/.odrive-agent/bin/odrive mount /odrive /
The below command starts synching the Google Drive foler on odrive to the container. Note that this command is not recursive and you have to start synching each file and folder that you want odrive Synch Agent to continue to sync.
$HOME/.odrive-agent/bin/odrive sync /odrive/Google\ Drive.cloudf
The below command refreshes the Google Drive folder.
$HOME/.odrive-agent/bin/odrive refresh /odrive/Google\ Drive
docker stop odrive-cli
odrive Sync Agent: https://odrive.readme.io/v1.0/docs/odrive-sync-agent