Pull or push Google Drive files
If you like / use this project, please let me known by adding a ★ on the GitHub repository.
# Define installation folder
export INSTALL_DIRECTORY=/usr/bin
# Use local installation
sudo bin/installer install
# Use remote installation
curl --location "https://github.com/timonier/drive/raw/master/bin/installer" | sudo bash -s -- install
Note 1: If you do not define INSTALL_DIRECTORY
, installer
will use in /usr/local/bin
.
Note 2: docker-for-mac
users have to configure native NFS server.
Run the command drive
:
# See all drive options
drive --help
# Run drive
drive init ~/gdrive
cd ~/gdrive
drive pull