How to upload a file to google drive?
Solution 1:
There is a good tutorial here.
To summarize the link:
- If not already installed, install
curl
- create Google security certificate
- test from command line
- create Python script to automate
Solution 2:
send the file to your gmail account as attachment and from there you can save it to google drive directly.
uuencode file.txt file.txt | mail [email protected]
I know this is not direct to gdrive, but as there is no other options available I use this easy approach.