stdin2gdrive

command module
v0.0.0-...-fa9d1c3 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2020 License: MIT Imports: 15 Imported by: 0

README

stdin2gdrive

Upload stdin contents to Google Drive.

TODO

  • handle HTTP error (4xx, 5xx)

Requirements

  • Team Drive (it needs G Suite)
  • Service Account with Google Drive API enabled
  • JSON Key File of Service Account

How to use

Upload from FFmpeg
ffmpeg -re -f lavfi -i testsrc2=s=640x360 -r 60 -t 60 -vcodec h264 -f flv - | stdin2gdrive --name testsrc2.1minute.flv --parent Folder_ID_Here --service-account /path/to/key.json

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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