Mount a google drive

Mount a google drive

It is quite easy these days to mount a google drive to a Linux file system. What I found easiest is to use the filesystem provided by Alessandro Strada here on GitHub. The individual steps to mount a google drive to a local file system are then as follows.

First install the filesystem. For that, we first add the repository to the apt system and can install it then from there:

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

Once the tool is installed, it need to get access to the google drive account. For that, run the command

google-drive-ocamlfuse

in the terminal and a browser window opens, where the account details are asked (at that stage, however, one needs some trust to the programmer…)

Once the details are entered, the terminal reacts with

Access token retrieved correctly.

Then the mountpoint needs to be created and the google drive can be mounted to it

mkdir google-drive
google-drive-ocamlfuse ./google-drive

Leave a Reply