Mount Your Google Drive in Ubuntu
How to Mount your Google Drive in Ubuntu

Learn the guide to easily mount the Google drive in your Ubuntu easily by using the tool that will allow you to access to all the files in your Ubuntu PC by following the simple guide discussed right below.



Google Drive is one of the most popular cloud storage service offering you lots of free storage availability. When it comes back in 2012, its desktop clients for both Windows and MAC OS were also released. Considering the tool’s official website, Google Drive Ocamlfuse is a Fuse based file system that is backed by Google Drive. It is written in Ocaml Language that allows users to mount their Google Drive in Linux and use it as a normal directory. That is you can even access this drive even on any of the Linux distribution and here we are talking about Ubuntu. So have a look on complete guide discussed below to proceed.

Also Read: 10 Reasons Why Hackers Prefer to Use Linux OS

How to Mount your Google Drive in Ubuntu

The method is quite simple and can be easily performed with a cool tool that we are gonna discuss right here. So have a look on complete guide discussed below to proceed.

Also Read: Top 10 Reasons to Switch from Windows to Kali Linux

Features of Ocamlfuse Tool:

  • Full read/write access to ordinary files and folders
  • Read-only access to Google Docs, Sheets, and Slides (exported to configurable formats)
  • Multiple account support
  • Duplicate file handling
  • Access to trash (“.Trash” directory)

Also Read: Top 10 Best Hacking Tools For Linux 2016

Steps To Mount your Google Drive in Ubuntu:

Step 1:Download and install the Google-Drive-Ocanlfuse tool by carrying out the following commands in your Ubuntu system:

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

Step 2: When the commands are done, what to do is to authorize the tool to access your Google Drive by running out the following command:

google-drive-ocamlfuse

Step 3: In your default web browser, a tab will be open where the tool requests your permission to access your Google Drive content.

Mount Your Google Drive in Ubuntu
Mount Your Google Drive in Ubuntu

Step 4: Now click on “Allow” button and a message will be shown to you by Google Accounts which will let you know what the application is doing and what information is shared with it.

Mount Your Google Drive in Ubuntu
Mount Your Google Drive in Ubuntu

Step 5: Again, click on “Allow” button and the required access will be allowed to the tool which helps in completing the setup for it.  Now, next step is to create a local directory on your Ubuntu system where all the contents of Google Drive will be mapped. Consider a directory called “gdrive_local“.

mkdir ~/gdrive_local

Step 6: When everything is done, run the following command to mount the file-sytem locally:

google-drive-ocamlfuse ~/gdrive_local

Step 7: It will take time to upload but finally you will see all your Google Drive contents in your directory named “gdrive_local“. By this, we can make changes and those were returned in the cloud and vice-a-versa.

Mount Your Google Drive in Ubuntu
Mount Your Google Drive in Ubuntu

Step 8: For configuration, tool’s configuration is usually located at the address “~/.gdfuse/default/config.

Mount Your Google Drive in Ubuntu
Mount Your Google Drive in Ubuntu

Also Read: How To Install Kali Linux On Any Android

So above is all about How to Mount Your Google Drive in Ubuntu. Use this simple guide and you can easily access the google drive services right on your Ubuntu desktop. And hope you like the tutorial, keep on sharing with others too. Leave a comment below if you have any related queries with this.


COMMENTS

AUTHOR

Karanpreet Singh
Karanpreet Singh is the Co-Founder of Techviral. He writes about how to, tutorials especially on Android, iPhone, Computer, Internet, Social Networks, etc. Apart from this, he is an Ec-Council CEH (Certified Ethical Hacker) and a Digital Marketing Expert. He loves to share his knowledge with others through blogging.