Mounting Google Drive on the Linux Desktop

Created at 2016-08-29 Updated at 2016-11-02 Tag Google-Drive / Linux / Desktop

Mount Google Drive on your Linux Desktop

I had to share this little gem of a program. Many people have a google drive account, but in linux there was no convienent way to access your files from the Desktop. This program allows you to mount your drive files on your desktop, eliminating the need to sync and waste valuable hard drive space. The souce can be obtained here.

Download:

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

Usage:

The first time, you can run google-drive-ocamlfuse without parameters:

1
google-drive-ocamlfuse

This command will create the default application directory (~/.gdfuse/default), containing the configuration file config (see the wiki page for more details about configuration). And it will start a web browser to obtain authorization to access your Google Drive. This will let you modify default configuration before mounting the filesystem.

Then you can mount the filesystem:

1
google-drive-ocamlfuse mountpoint

If you have more than one account, you can run:

1
google-drive-ocamlfuse -label label [mountpoint]

Using label to distinguish different accounts. The program will use the directory ~/.gdfuse/label to host configuration, application state, and file cache. No file is shared among different accounts, so you can have a different configuration for each one.

Site by Jackson Stokes

Hide