Grive is an official Linux client alternative to Google Drive, Which has no support within the penguin’s operating system. In case anyone doesn’t know, Google Drive is a service line of very popular storage that allows to work collaboratively in the edition of documents. However, the most common use of Google Drive is the cloud storage repository, and in this tutorial we will teach you how to install Grive and configure.
It is worth noting that Grive, although it shares many functions with the official client, is slightly more limited than the Windows and OS X versions. However and for some strange reason, the guys at the Big G have not yet thought of writing a Linux version. In any case, we will get into the matter now and try to get the most out of Grive.
Installing Grive on Ubuntu
Grive’s client it can be downloaded as a DEB package from yours official website or install via PPA. The PPA we will use in this guide has been created by the guys at WebUpd8, and to use it open a terminal and run these commands:
sudo apt-add-repository ppa:nilarimogard/webupd8 sudo apt-get update sudo apt-get install grive
This will install the software in our operating system and we should be able to run from the terminal. if we write
grive -help we should see a list of commands and modifiers that we can use.
Configuring Grive in Ubuntu
In first place Navigate to the directory you want to use to sync with Google Drive. You probably want to create a new one for that purpose. The next step is authenticate your Google Account and allow the software interact with the service line. To do this, enter the following command in the terminal:
This command will generate a unique link to the terminal which you can press and which will open in the default browser. One will open website with a 40-digit code which you will need to copy and paste to the terminal. After entering it, Grive will begin uploading to the cloud the documents contained in the location you previously navigated from the terminal. This will create directories with the same structure they have on your hard drive.
How long have you completed the previous step you will no longer need to re-authenticate to sync your files with Google Drive. All you have to do is navigate to a directory that contains the files you want to sync with your Google Drive and type the following command:
To avoid mistakes or long waiting periods while uploading more files than you expected, you can always check what Grive is going to sync using this command:
this command it will only show you what is going to be copied, Without really synchronizing anything.
It is worth noting that Grive is still in its early stages of developmentBut still the synchronization works well enough. Users, of course, would appreciate more options, but considering that for Linux there is no official Google Drive client is our best asset.