Google Drive: Difference between revisions

From LWP-Wiki
Jump to navigation Jump to search
(Created page with "Google Drive has no desktop client for linux. There is however a tool which let's you mount your Google Drive. Here's how to use it. ---- Install the tool: sudo apt-get ins...")
 
No edit summary
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[Category:misc-faq]]
Google Drive has no desktop client for linux. There is however a tool which let's you mount your Google Drive. Here's how to use it.
Google Drive has no desktop client for linux. There is however a tool which let's you mount your Google Drive. Here's how to use it.



Revision as of 14:57, 6 February 2017

Google Drive has no desktop client for linux. There is however a tool which let's you mount your Google Drive. Here's how to use it.


Install the tool:

sudo apt-get install google-drive-ocamlfuse

Create the folder you want to use for Google Drive:

mkdir <the folder you want to use for google drive>

Run the following command to open a browser, directing you to a page that will ask you to allow access to your Google account (this might take a minute):

google-drive-ocamlfuse

The next command will actually mount your Google Drive on your folder:

google-drive-ocamlfuse <the folder you want to use for google drive>

Because you don't want to do that every time you login, add the following to your ~/.bashrc file:

if mount -v | grep -q "fuse.google-drive-ocamlfuse" ; then
    google-drive-ocamlfuse <the folder you want to use for google drive>
fi