gdrive

command module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2023 License: MIT Imports: 7 Imported by: 0

README

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

Documentation

Overview

Google Drive Uploader Command line interface for uploading file and folders to google drive.

Enable the Google Drive API: https://console.cloud.google.com/flows/enableapi?apiid=drive.googleapis.com

Create API credentials.json: https://console.cloud.google.com/apis/credentials

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL