Sunday, 3 February 2013

Mounting Google Docs Drive on Ubuntu 12.04


google-docs-fs can enable us to mount the google docs/drive on 
local machine and use it like a stograge drive

Install The following softwares on ubuntu 12.04
Python 2.7 or later       ----interactive high-level object-oriented language
gdata-python-client-1.3.0 --- Google Data python Client
python-fuse-0.2           ----userspace virtual filesystem
mercurial  (optional)     ----- distributed version control system

Download the source from http://code.google.com/p/google-docs-fs/downloads/list 
or run the command
hg clone https://google-docs-fs.googlecode.com/hg/ google-docs-fs
to get the latest source for google-docs-fs

Installation
Go the direction where the souce code is present and run the command
su ./setup.py install
This completes the installation process.

Mount the drive :
gmount <local_direction> abc@gmail.com

At the prompt enter the gmail account password.The contents of google docs/drive is mounted to local directory
You can configure the terminal proxy if required.Refer the earlier blob to configure proxy for ubuntu 12.04
for the same.

Unmount the drive :
to unmount the drive use the command
gunmount <local_directory>