Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbutko/f413b5467bc8e3fbabd93249c81cff34 to your computer and use it in GitHub Desktop.
Save jbutko/f413b5467bc8e3fbabd93249c81cff34 to your computer and use it in GitHub Desktop.
Unix: Upload/get/delete files from google drive via rclone
  1. To communicate with google drive folder via unix command line you need to install rclone util at first: curl https://rclone.org/install.sh | sudo bash
  2. Obtain client id and secret for communicating with google drive: https://rclone.org/drive/#making-your-own-client-id
  3. Setup rclone for google drive via: https://rclone.org/drive/
  4. If all works you should get list of your google drive folders/files: rclone lsf gdrive:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment