1.2.0 • Published 12 years ago
gput v1.2.0
gput
super simple streaming uploads into google drive from the command line
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.jpgyou can also make directories:
gput mkdir fooit will print out a big json blob. grab the id from it and then do:
gput foo.jpg --dir 0B8lSLF293vHqRlVkRzJpto upload foo.jpg into the parent directory you created
nested directories aren't yet supported
