Google Drive CLI.
export SERVICE_ACCOUNT_FILE="example.json"
export GDRIVE_VOLUME="/tmp/gdrive"
Init:
docker run -it --rm \
--platform linux/amd64 \
--volume "${GDRIVE_VOLUME}:/var/lib/gdrive" \
--volume "${SERVICE_ACCOUNT_FILE}:/gcp/credentials.json" \
andreswebs/gdrive init \
--service-account-file /gcp/credentials.json /var/lib/gdrive
docker run -it --rm \
--platform linux/amd64 \
--volume "${GDRIVE_VOLUME}:/var/lib/gdrive" \
andreswebs/gdrive -h
Andre Silva andreswebs
This project is licensed under the Unlicense.