Socket
Socket
Sign inDemoInstall

github.com/abiiranathan/gdrive

Package Overview
Dependencies
20
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    github.com/abiiranathan/gdrive

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


Version published

Readme

Source

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

FAQs

Last updated on 20 Apr 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc