drive linux commandline using Go

Download drive from github

List contents of a certain folder

gdrive list -q "'XXXXXXXXXXXXXXXXX' in parents"

Search for a title/ filename

gdrive list -q "title contains 'testing_uploads'"
Id                Title           Size     Created               
XXXXXXXXXXXXXX   testing_uploads   0 B    2014-07-02 16:00:33   

Upload files inside a certain folder. If the parameter p is omitted it is uploaded to root


if [ -z "$1" ]; then
   echo $0 "name of file please"
        gdrive upload -p XXXXXXXXXXXXXXXXX --file "$1"


add file 'update' to the script:
See this video for more commandline options: