Windows
- Download the Windows version of gdrive from github.
- Copy the gdrive-windows-x64.exe file to your c:\windows folder
1copy downloads\gdrive–windows–x64.exe c:\windows
- Run gdrive with a parameter to get the Google authentication code and then copy that to a browser windows. Paste back the verification code.
- Now upload a file. WOOOT!
Fuente: http://olivermarshall.net/how-to-upload-a-file-to-google-drive-from-the-command-line/