10-10-2020, 10:01 AM
#Download the Package
sudo wget https://docs.google.com/uc?id=0B3X9GlR6E...t=download
#You should see a file in your directory called something like uc?id=0B3X9GlR6Embn4WksyTEtCM0VfaFE. and rename this file to gdrive.
sudo mv uc?id=0B3X9GlR6Embn4WksyTEtCM0VfaFE gdrive
#Give execute permission to gdrive.
sudo chmod +x gdrive
#Install the file to /usr folder.
sudo install gdrive /usr/local/bin/gdrive
#Now we will need to give access to Google Drive to allow this program to connect to your account. To do this, insert below command.
sudo gdrive list
#Copy the link it gives you to your browser and chooses your google drive account.
#Click Allow button to give access.
#Copy the generated verification code and insert into a terminal.
#Now we are done... Let's upload a file.
sudo gdrive upload /file_path
#Go to google drive and check it's uploaded.
#https://www.serverkaka.com/p/linuxt.html
sudo wget https://docs.google.com/uc?id=0B3X9GlR6E...t=download
#You should see a file in your directory called something like uc?id=0B3X9GlR6Embn4WksyTEtCM0VfaFE. and rename this file to gdrive.
sudo mv uc?id=0B3X9GlR6Embn4WksyTEtCM0VfaFE gdrive
#Give execute permission to gdrive.
sudo chmod +x gdrive
#Install the file to /usr folder.
sudo install gdrive /usr/local/bin/gdrive
#Now we will need to give access to Google Drive to allow this program to connect to your account. To do this, insert below command.
sudo gdrive list
#Copy the link it gives you to your browser and chooses your google drive account.
#Click Allow button to give access.
#Copy the generated verification code and insert into a terminal.
#Now we are done... Let's upload a file.
sudo gdrive upload /file_path
#Go to google drive and check it's uploaded.
#https://www.serverkaka.com/p/linuxt.html