1. Linux script to upload file Dropbox See here Google drive Ref: https://gist.github.com/deanet/3427090 You have to update the username and password, and the folderId. folderId can be found from Google Drive URL in your browser. For example, if the Google Drive folder to which you want to upload thing has the following URL: https://drive.google.com/?tab=wo&authuser=0#folders/1234567890AB-CDEFGHIJKLMNOPQR the folderId would be 1234567890AB-CDEFGHIJKLMNOPQR Sample script # Things to update username="xxxx@gmail.com" password="xxxx" pewede="/tmp" tipe="application/x-mobi" folderId="xxxx" OUTFILE2=myfile.mobi accountype="GOOGLE" #gooApps = HOSTED , gmail=GOOGLE det=`date +%F` browser="Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:13.0) Gecko/20100101 Firefox/13.0.1" /usr/bin/curl -v --data-urlencode Email=$username --data-urlencode Passwd=$password -d accountType=$accountype -d service=writely -d ...