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:

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

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

[shell]
google-drive-ocamlfuse
[/shell]

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

[shell]
mkdir google-drive
google-drive-ocamlfuse ./google-drive
[/shell]

Leave a Reply

%d bloggers like this: