How to mount Google Drive on your Linux(Ubuntu) system

I have always been a fan of cloud storage as anything can happen on my mechanical harddrive, but now that I have completely migrated to Ubuntu and having to realise that the is no support whatsoever for Google drive applications, I was on a quest to find a working and reliable on. Then I stumbled upon Google Drive Ocamlfuse which is a FUSE filesystem backend for Google Drive which you can use to mount your Google Drive under Linux.

Link: https://github.com/astrada/google-drive-ocamlfuse

Installation

sudo add-apt-repository ppa:alessandro-strada/ppa
sudo apt-get update
sudo apt-get install google-drive-ocamlfuse

Usage

run:

google-drive-ocamlfuse

Make sure you are connected to the internet as this will open your browser and require access to your Google Drive. Click “Allow” and this will give the application access to your files.

Mounting

Now we mount GDrive to your system.

run:

mkdir -p ~/Google_Drive
google-drive-ocamlfuse ~/Google_Drive

That’s about it, unless you want to be heroic and modify changes in the configuration file which is  here:

~/.gdfuse/default/config

Automount

To mount Google Drive upon startup, run:

crontab -e

and insert

@reboot google-drive-ocamlfuse ~/Google_Drive

Or go here: https://github.com/astrada/google-drive-ocamlfuse/wiki/Automounting

Done!!!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s