How to install Google Drive Client on Ubuntu 14.04 and Ubuntu 15.04. Install Grive (Google Drive Client) and mount Google Drive in Ubuntu 14.04 and Ubuntu 15.04 Systems.
Grive 2 Google Drive client with support for new Drive REST API and partial sync feature. This is the fork of original “Grive” (https://github.com/Grive/grive) Google Drive client. Grive is an unofficial, open source command line Linux client for Google Drive. The app is developed and maintained by Vitaliy Filippov.
The Grive2 comes with the following features:
- Supports the new Drive REST API
- Added partial sync
- Various bug fixes
Please note that the Grive 2 does not support Google documents.
Install Grive 2 in Ubuntu or Linux Mint
One can install Grive 2 in Ubuntu or Linux Mint via PPA. Installing Grive2 from the main PPA will overwrite any old Grive versions already installled on the system.
To install Grive 2 in Ubuntu, Linux Mint and Ubuntu Derivatives, open Terminal and run the following commands:
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install grive
You can also download the deb package from the official website, but installing the deb won’t receive automatic updates.
How To Use Grive 2
Once installed, you need to configure Grive 2 to use in correct way. You need to create a Grive directory and give Grive 2 permissions to access your Google Drive account.
Run the following commands to create a new folder “grive”:
mkdir -p ~/grive
cd ~/grive
For the first time when you run Grive 2, you must grant it permission to access your Google Drive. Run the command with the “-a” argument:
grive -a
After running the above command, you can see an URL in the terminal. Copy this URL and paste it in a web browser.
In the web page that is displayed, click “Allow Access” to give Grive permission to access your Google Drive. You will then receive an authentication code, copy this code and paste it in the terminal.
Once Grive has been configured, sync your Google Drive with your ~/grive folder. Run the commands:
cd ~/grive
grive
If you wish to use the partial sync feature and sync only a subfolder with Google Drive, run the below command:
grive -s ~/grive/name_of_subfolder
Images via Webupd8