Public Repository

Last pushed: 2 years ago
Short Description
A dockerfile for gsync (an rsync like interface to google drive)
Full Description

#gsync
A dockerfile for gsync (an rsync like interface to google drive)

#usage
docker run -it sudsy/gsync --help

#example
docker run -it -v $(pwd):/driveroot -w /driveroot -e "GSYNC_CONFIG_DIR=/driveroot/.gsync" sudsy/gsync -rv drive://gdrivetestfolder .

###explained
-v $(pwd):/driveroot This mounts the current working directory as a volume /driveroot inside the docker container.

-w /driveroot This sets the working directory inside the container to the newly mounted /driveroot

-e "GSYNC_CONFIG_DIR=/driveroot/.gsync" This sets an environment variable to tell gsync to use .gsync in our working directory as the configuration folder

Docker Pull Command
Owner
sudsy

Comments (0)