Tuesday, September 25, 2012

Client for Google Drive Grive


Google Drive is the storage service in the cloud of Google, launched to compete with Dropbox, SkyDrive Windows and many others. Focusing on our ecosystem Linux user, the most important would be Dropbox, Ubuntu One followed, both with a great integration, and now, Google Drive, but not officially.
When Google announced Drive, not released a version for Linux, claiming that such a thing would come soon. It's been some time and still have not received anything to prove, except Grive, as expected, the open source community and built his own alternative, in C + +.
Before we continue, here are the features of Google Drive:
  • Compatible with Windows, OS X and Android (now with Linux, thanks to Grive)
  • Compatible with iOS Soon
  • Fantastic Integration with Google Apps and Google +
  • Integration of external web applications
  • 5 GB free
  • File browser, viewer, documents, etc..
If you have decided to move from Dropbox and Ubuntu One, we add Grive repositories:

sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install grive
Once installed, we need to configure, run:

sudo mkdir -p ~/grive
We have created a folder, which is what Grive work with, we move it:

cd ~/grive
And execute:

grive -a
Which gives Grive permissions to access this folder and use it.
After running the above command will display a URL in the terminal. Copy this URL and paste it into your web browser. In the page loaded, I will ask you to give permission to access your disk Grive Google Drive. After clicking "Allow Access" appears an authentication code you have to copy and paste into the terminal where you ran Grive.
There, only warning is that synchronization is not automatic, but it for that, you must go to the folder from the terminal:

cd ~/grive
And once there, run:

grive
And everything is synchronized, you can create an alias, to facilitate synchronization task:

alias sync-grive=”cd ~/grive && grive”
This way, you only have to run:

sync-grive
In the console, regardless of the directory to sync the folder ~ / grive. Obviously you can change the sync-grive you want.
Although I will recommend Dropbox and Ubuntu One, or if you have a server, ownCloud. At least until the official version of Google.
Share on :

1 comments:

Diman82 said...

How do I change the remote (Google) folder?

Post a Comment

 
© Copyright Ubuntu Tutorial-Ubuntu Desktop-Ubuntu Server 2012 - Some rights reserved | Powered by Blogger.com.