Grive or inSync is a file sync tool which syncs up a local file system and remote Google Drive. You cannot "mount" Google Drive using these tools.
For mounting, use google-drive-ocamlfuse, FUSE-based filesystem for Google Drive.
Installation instructions, and more details about configuration, and authorization are at the Installation of FUSE filesystem over Google Drive wiki page (on GitHub).
The project's GitHub homepage also has the readme file that is for the
google-drive-ocamlfuse source code.
Here are distro-specific instructions to mount Google Drive with google-drive-ocamlfuse.
An open source client for Google Drive exists: Grive.
For now, the application is considered experimental and it lacks full sync, but it can upload and download new or changed files already (so you can access your files offline). What it can't do yet is: wait for changes and automatically sync the files or delete files (when a file is deleted locally, it's ignored and when it's deleted remotely, it's reuploaded if it exists locally).
Note that this project is officially abandoned since September 2018.
There is an SDK available, so someone will probably make a linux solution soon. There is also a drive on Google+ going on right now to get Google to add a Linux client, in addition to the Windows, Mac, and Android clients (not to mention their plans for an iOS client.)
Then they will be on par with Dropbox :) (with a bit more extra free space by default)
A package from Luca Invernizzi exists to do so. See http://code.google.com/p/google-docs-fs/wiki/OnlineManual.
First you need to add the packages provided by Luca and available in his PPA (Ubuntu 11.10 only at present):
sudo add-apt-repository ppa:invernizzi/google-docs-fs sudo apt-get update && sudo apt-get install google-docs-fs
Once everything that’s needed has been installed log out and back in.
- Open Nautilus Create a new folder in your Home folder titled
- Open a Terminal and run:
gmount Drive email@example.com
- Input your password
- Your Google Drive is now mounted in the
Insync is a Linux client for Google Drive with the following features:
- multiple Google accounts support
- offline Google docs editing
- right-click share in the context menu
- recent changes notifications
- external hard drive support
- support for the most popular distributions (Ubuntu, Linux Mint, Debian, Fedora, openSUSE)
- support for the most popuar desktop environments (Unity, MATE, GNOME Shell, Cinnamon, KDE 4, Xfce)
- support for multiple file managers (Nautilus, Caja, Nemo, Dolphin, Thunar)
Learn more at insynchq.com/linux.
Disclaimer: I'm one of the developers of Insync.
An alternative approach is to use an online service to access Google Drive using WebDAV (e.g. using http://synqya.appspot.com) so there is no need for a client installation or other add-ons.
I followed the instructions here:
and got it to work successfully on Fedora 16.
This builds google-drive-ocamlfuse, which is then used to access google drive.
While it is not a filesystem mount via the Linux kernel, KIO GDrive (part of KDE) enables KIO-aware applications (such as the Dolphin file manager, Kate editor, or Gwenview image viewer) to access, navigate, and edit Google Drive files.
kio-gdrive is available as package in several Linux distributions. If installed, the Dolphin file manager will get an entry "Google Drive" under "Network". There, an unprivileged desktop user can 'mount' a GoogleDrive account via a guided graphical configuration (during which the default browser will be opened where one needs to give KDE KAaccounts permission to access the GoogleDrive account).
This method doesn't provide access to GoogleDrive via a terminal, but it integrates it nicely with a graphical desktop.
Insync is actually the best client for Google Driver around
It's full featured, and free during the beta phase.