Google Drive CLI Client.
This tool is not being actively maintained at the moment, ymmv Active maintenance will be resumed soon. For incremental and encrypted backup of unix systems borg is a great alternative and rsync.net provides a cheap and reliable backup target.
Note
Overview
gdrive is a command line utility for interacting with Google Drive.
Prerequisites
None, binaries are statically linked. If you want to compile from source you need the go toolchain. Version 1.5 or higher.
Installation
Homebrew on Mac
Withbrew install gdrive
Other
Download
gdrive
from one of the links below. On unix systems run chmod +x gdrive
after download to make the binary executable. The first time gdrive is launched (i.e. run gdrive about
in your terminal not just gdrive
), you will be prompted for a verification code. The code is obtained by following the printed url and authenticating with the google account for the drive you want access to. This will create a token file inside the .gdrive folder in your home directory. Note that anyone with access to this file will also have access to your google drive. If you want to manage multiple drives you can use the global --config
flag or set the environment variable GDRIVE_CONFIG_DIR
. Example: GDRIVE_CONFIG_DIR="/home/user/.gdrive-secondary" gdrive list
You will be prompted for a new verification code if the folder does not exist.Downloads
Check our releases section.
No comments:
Post a Comment