A tool to let you back up and sync files with google drive (designed for linux)
basic demo to show adding games and syncing: link if video didn't show up: demo
Download the Latest Release
add to bin:
sudo mv /path/to/cpd /usr/local/bin/
sudo chmod +x /usr/local/bin/cpddconnect drive
cpd config drive-
Go get your google cloud oauth credentials and put it under /pkg/gdrive as credentials.json
-
compile:
go build -o cpd main.go- move to bin:
sudo mv cpd /usr/local/bin/add game to the sync list
cpd add [path to file/directory] [name]config individual time to sync a spesific game in minutes
-i 60exclude from daemon (no auto sync)
-nremove game from the sync list
cpd remove [name]handle the daemon to automatically sync (run just runs it once if you want to not sync the ignored files)
cpd daemon [start, stop, restart, status, run]list all games that are in the sync list
cpd listmanually sync all games on the list
cpd syncmanually sync spesific games separated by commas
cpd sync game1,game2edit the config file (using nano)
cpd config editconnect a google account (required to run at least once)
cpd config driveconfig the global default time between auto-syncs
cpd config set daemon-interval 60