Save your files from Linux To Google Drive

Commands :


mv uc\?id\=0B3X9GlR6EmbnQ0FtZmJJUXEyRTA gdrive 

chmod +x gdrive

sudo install gdrive /usr/local/bin/gdrive

gdrive list


Authentication needed
Go to the following url in your browser:
URL Enter verification code:

Copy it and open it from your browser and login, after login you will Get some code For example : 

Then copy it and enter it below Enter verification code:

and you can upload and make another operations :

Help Details :

gdrive [global] list [options]                                 List files
gdrive [global] download [options]                     Download file or directory
gdrive [global] download query [options]                Download all files and directories matching query
gdrive [global] upload [options]                         Upload file or directory
gdrive [global] upload - [options]                       Upload file from stdin
gdrive [global] update [options]                Update file, this creates a new revision of the file
gdrive [global] info [options]                         Show file info
gdrive [global] mkdir [options]                          Create directory
gdrive [global] share [options]                        Share file or directory
gdrive [global] share list                             List files permissions
gdrive [global] share revoke            Revoke permission
gdrive [global] delete [options]                       Delete file or directory
gdrive [global] sync list [options]                            List all syncable directories on drive
gdrive [global] sync content [options]                 List content of syncable directory
gdrive [global] sync download [options]         Sync drive directory to local directory
gdrive [global] sync upload [options]           Sync local directory to drive
gdrive [global] changes [options]                              List file changes
gdrive [global] revision list [options]                List file revisions
gdrive [global] revision download [options]    Download revision
gdrive [global] revision delete                Delete file revision
gdrive [global] import [options]                         Upload and convert file to a google document, see 'about import' for available conversions
gdrive [global] export [options]                       Export a google document
gdrive [global] about [options]                                Google drive metadata, quota usage
gdrive [global] about import                                   Show supported import formats
gdrive [global] about export                                   Show supported export formats
gdrive version                                                 Print application version
gdrive help                                                    Print help
gdrive help                                           Print command help
gdrive help                              Print subcommand help

if you want to upload for example use :

gdrive upload