Skip to content

abiiranathan/gdrive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gdrive

GitHub license GoDoc

gdrive is a command-line interface (CLI) and set of APIs for uploading files and folders to Google Drive. This project makes use of the Google Drive API to perform the upload operation. It's written in the Go programming language.

Features

  • Upload files and folders from local machine to Google Drive.
  • Supports gzip compression as .tar.gz on files before upload.
  • Supports ZIP compression as .zip on files before upload.
  • Upload multiple files and folders simultaneously.
  • Authentication with Google Drive API using API credentials file and token file.
  • Automatic access_token capture and renewal.
  • Skip existing files.
  • Automatically create intermediate folders if missing.

Prerequisites

Before using this CLI, you must:

Installation of the CLI:

go install github.com/abiiranathan/gdrive@latest

Installation of the client APIs

go get github.com/abiiranathan/gdrive

See usage example on how to use the APIs.

Usage:

Run gdrive --help to get detailed usage instructions.


Download pre-compiled Linux x86_64(64 bit) binary or a windows executable.(64 bit)

If you want to hack on something quickly, download pre-compiled version from the Releases

About

A command-line interface (CLI) and set of APIs for uploading files and folders to Google Drive.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages