How to Mount Google Drive in Linux Using “Google Drive OCamlfuse” Client

Google Drive is a cloud storage service owned by Google Inc. Google Drive allows user to edit documents (including Spreadsheets and Presentations), share, synchronize and store in the cloud. It is free to use Google Drive and all you need is a Google/Gmail Account. Introduced in the year 2012, Google Drive presently have a total of 240 million+ monthly users.

Technical aspects of Google Drive

  1. Google Offers initial 15GB of online storage for free that is used by Gmail, Google+ photos and Google Drive in combination.
  2. Post utilization of 15GB of online storage you can buy monthly subscription by paying a little amount and you can own a maximum of 30 TB space per account. However there is no limitation for the number of accounts you can own.
  3. Google Driver Viewer has support for viewing the file types for most of the formats.
  4. There are a number of Third-party apps that lets you access Google Drive. One such extension for Google Chrome will let you access Google Drive even when offline.
  5. Document Limit for Google Dock – A document must not exceed 1,024,000 characters regardless of font, page and size and should not exceed 50 MB.
  6. A spreadsheet must not be larger than 20 MB and a Presentation slide should be within 100 MB.

Why Prefer Google Drive over Traditional Storage

You need Google Drive because you need to have access to your documents, pictures, Spreadsheets, Presentation and other files all the time when required. You do not need to carry a physical hard Drive / USB flash Drive to carry files and hence there is no risk of losing your files.

No risk of virus infection or attack by a hacker, as your files are safe in the Google Cloud with strong password. Edit and View files on Desktop, Laptop, Latest Mobile Phones and Tablets, etc… anytime, anyplace, any platform and whatever.

To Sync files between Google Drive and local machine, you need a Google Drive Client. There are a lots of Google Drive client for Systems like Windows, Mac OS X, Android, iOS but unfortunately there is no any official client software for Linux.

There are a few open source third party tools that lets you mount Google Drive on you Linux System, but here we’re introducing yet another popular tool called google-drive-ocamlfuse, which allows you to mount your Google Drive under your Linux filesystem to access your files more easily.

If You Appreciate What We Do Here On TecMint, You Should Consider:

TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles available FREELY to all.

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Support Us

We are thankful for your never ending support.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

34 Responses

  1. Jessica says:

    There is something strange about the way your code blocks are displaying; ~ is changed to – in my browser (Firefox)

  2. Martin says:

    Does anyone know how this method compares to eg grive/grive2? The latter methods, I’ve had bad experiences with, so I’ll try this new method now, thanks a lot for the article…

  3. Rob says:

    Is it possible to edit this to use lynx instead of “xdg-open”, “firefox” or “google-chrome”. Been following this to install on one of my headless servers which has no gui and therefore no graphical browser.

  4. Lim JH says:

    When I try to give ownership to avi, it says “user is not found” .Any idea?

  5. Thu Win says:

    This caused Linux Mint to stop booting!

  6. Jose Rivera says:

    Thanks a lot folks, very useful, even if I have no knowledge about Linux (sorry my English, I do not speak English).

  7. Jacques says:

    Hi,

    I have had to change:
    gdfuse#default /mnt/gdrive fuse uid=1000,gid=1000 0 0
    to:
    gdfuse#default /mnt/google_drive fuse uid=1000,gid=1000,user 0 0

    • Ravi Saive says:

      @Jacques,

      Thanks for sharing the tip, but could you tell us why it needed and how you came to know? it will help us to correct the article with correct explanation. So, that end users will know more better about the command.

  8. laudup says:

    Thank you very much for this tutorial. It is really very useful.
    The question is what to do if you only have the command line and no GUI (so no browser too ;-).

    Thank you.

  9. Boi Le says:

    google-drive-ocamlfuse on Lubuntu 14.04 is too slow. I tried to use vi to edit a text file in google-drive, when I pasted about 2KB text from clipboard, it took around 60 seconds. The same thing works smoothly on pCloud.com, it seems that pCloud do caching well.

Leave a Reply to Jessica Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.