Skip to content

max-mapper/gput

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gput

super simple streaming uploads into google drive from the command line

NPM

usage

this assumes you have a fresh google oauth token in ~/.config/googleauth.json. If you don't, just npm install googleauth -g to generate one!

npm install gput googleauth -g
googleauth
# authenticate with google, then
gput foo.jpg

you can also make directories:

gput mkdir foo

it will print out a big json blob. grab the id from it and then do:

gput foo.jpg --dir 0B8lSLF293vHqRlVkRzJp

to upload foo.jpg into the parent directory you created

nested directories aren't yet supported

About

super simple streaming uploads into google drive from the command line

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published