Choose language

Portal Home > Knowledgebase > How-to > Seedboxes > Other software > gdrive installation


gdrive installation




Please log on to your account via SSH. Go to the page https://github.com/prasmussen/gdrive#downloads and copy Linux 64-bit download link. Now download gdrive file via SSH

wget -O ~/gdrive https://docs.google.com/uc?id=0B3X9GlR6EmbnQ0FtZmJJUXEyRTA&export=download

Please replace download URL in the command above.

Now add an executable permission

chmod +x gdrive


Now install gdrive

if ! grep -w "PATH=\$HOME/bin" ~/.bashrc ; then mkdir -p ~/bin && echo "PATH=\$HOME/bin:\$PATH" >> ~/.bashrc && source ~/.bashrc ; fi

install gdrive ~/bin && rm -f ~/gdrive

Now you need to authorize your gdrive to access your Google Drive account. Type the command given below, in the output you will get your authentication URL. Copy it and paste in your web browser, then copy your verifitaction code and paste it into SSH.

gdrive list



That's all. You have just installed and configured gdrive. You are able to download and upload to your Google Drive disc.
To get gdrive help use:

gdrive help


To get help with the download command:

gdrive help download


To get help with the upload command:

gdrive help upload


To get help with any other command use:

gdrive help [command]


Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
rTorrent startup script (Views: 8774)