miércoles, 12 de agosto de 2015

Grive - Google Drive para Linux (Consola)

Bueno! parece que después de tanto tiempo he vuelto. EN FORMA DE POST!


Pero GRIVE, y eso? Grive es una (otra) alternativa para usar Google Drive en Linux.
Yo les voy a explicar como instalarlo y usarlo en mediante la Consola. Lo queres Web? seguí este link http://www.muylinux.com/2014/05/14/grive-tools-google-drive . Yo no lo utilice ni instale desde la consola, así que te lo dejo todo a vos.

Bueno, manos a la obra

Sistema Operativo 

# cat /etc/debian_version
7.8

# uname -a
Linux debian 3.2.0-4-686-pae #1 SMP Debian 3.2.68-1+deb7u2 i686 GNU/Linux

Pre-requisitos (Si falta alguno me avisan y actualizo)

Vamos a instalar todo los que nos haga falta

# apt-get install cmake gcc make build-essential libjson0-dev libcurl4-openssl-dev binutils binutils-dev libboost-dev libboost-filesystem-dev libboost-program-options-dev libboost-test-dev libqt4-core libqt4-dev libqt4-dev-bin libqt4-gui qt4-dev-tools libgcrypt11 libgcrypt11-dev libyajl-dev yajl-tools libjson0-dev git

Instalación (Como root)

# mkdir grive 
# cd grive/
# git clone https://github.com/vitalif/grive2.git
# cd grive2/
# mkdir build 
# cd build 
# cmake ..
# make -j4
# make install

Ahora la sincronización
# /usr/local/bin/grive -a

Luego para comenzar la sincronizacion ,ejecuten algo asi
# /usr/local/bin/grive -p /home//

Y siguen las indicaciones de la pantalla. Cualquier duda me consultan.
SALUTE!

[ENGLISH Version]

I'm Back! as Arnold or the T-800 says.

Today, I'm going to be talking about GRIVE, ok! but, What does it mean?
Grive is an alternative (or another tool) to Google Drive in Linux.

I'm going to explain to you How to install and use it , but using the linux console. WHAT?! do you want the Web Version? C'mon! if so, follow this link http://www.muylinux.com/2014/05/14/grive-tools-google-drive . But! if you are a real man, follow me and do the console installation!.

Ok, let's move on.
Linux Distribution
# cat /etc/debian_version
7.8

# uname -a
Linux debian 3.2.0-4-686-pae #1 SMP Debian 3.2.68-1+deb7u2 i686 GNU/Linux

Prerequisites(If I missed any, just let me know)

# apt-get install cmake gcc make build-essential libjson0-dev libcurl4-openssl-dev binutils binutils-dev libboost-dev libboost-filesystem-dev libboost-program-options-dev libboost-test-dev libqt4-core libqt4-dev libqt4-dev-bin libqt4-gui qt4-dev-tools libgcrypt11 libgcrypt11-dev libyajl-dev yajl-tools libjson0-dev git

Installation (as root)

# mkdir grive 
# cd grive/
# git clone https://github.com/vitalif/grive2.git
# cd grive2/
# mkdir build 
# cd build 
# cmake ..
# make -j4
# make install

Now, it's time to synchronize
# /usr/local/bin/grive -a

Finally, follow the steps in the screen, something like this:
-----------------------
Please go to this URL and get an authentication code:

https://accounts.google.com/o/oauth2/auth?scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile+https%3A%2F%2Fdocs.google.com%2Ffeeds%2F+https%3A%2F%2Fdocs.googleusercontent.com%2F+https%3A%2F%2Fspreadsheets.google.com%2Ffeeds%2F&redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=code&client_id=22314510474.apps.googleusercontent.com

-----------------------
Please input the authentication code here:

Then start the synchronisation for example like this:
# /usr/local/bin/grive -p /home//drive

And another ones bits the dust! ; )

No hay comentarios: