How To Mount Google Drive Locally As Virtual File System In Linux

Mount Google Drive Locally As Virtual File System In Linux

13 Responses

  1. Amin says:

    there is lots of bugs in installing ocaml-base and other stuffs from AUR. So I give it up for now

  2. kirikopulos says:

    How about rclone, surprised that no one talks about it or compares it with other alternatives.

  3. Peter says:

    This will never work because you have to be ON the actual linux machine in order to even see the instructions provided after clicking “allow” on the google drive auth page. How can this be done from the TERMINAL ONLY? IE via SSH?

  4. Doug says:

    google-drive-ocamlfuse: works, but so, so, SOOOOO slow for listing. I was running through strace and saw an average time to stat things in a team drive = 3-5 seconds per item. ouch. It did support team drives though.
    gcsf is much better, but still slow compared to an average file system. I could stat about 10 items per second. (pretty poor compared to any other filesystem, but much better than the ocaml version. This does not support team drive mounting.

  5. l says:

    I would need a way to mount it for free on Windows: it seems impossible to find!

  6. philnc says:

    In addition to some pretty severe network latency issues with all these solutions, only one addresses the thorny question of “what to do with Google documents (Google Docs, Sheets, etc)?” As far as I know only only rclone ( tries to handle this by converting between a Google and corresponding Microsoft format (although there is an option to specify open formats). Unfortunately my experience has been that the process has imperfections that result in duplicates or errors. The only product I’ve found so far that addresses the problem consistently is Insync ( Of course, Insync has just moved from v1.3 to v3.0 of their product, so we’ll have to see if that remains true.

  7. Nate says:

    Thank you so much for this page! I installed rclone via my repository, and had my google drive mounted virtually within a few minutes, you are a god-send.

  8. sk says:

    Glad I could help. Keep visiting our blog. Thank you.

  9. baca manga says:

    after i mount it, can i copy folder that have subfolder and many files on that folder? my plan is, i want to backup lot of file and subfolder automatically to my google drive. please answer me, thanks 🙂

  10. James H says:

    rclone instructions reference an item at providing instructions for generation and use of one’s own Google “client_id”:
    The instructions must be for an older version of the Google pages accomplishing this setup. Steps 1, 2 and 3 are as described. Step 4 is OK if one looks carefully. Step 5 – setting application type – is not to be found, so step 6, showing client ID and secret never appears.

    Anyone make it through this config with current (as of 2020-Mar-22) Google client_id setup?

  11. Gotit says:

    For rclone, I had to explicitly set the –vfs-cache-mode flag to writes so I could open and work with files on Google Drive. So my mount line looks like this:
    $ rclone mount mygoogledrive: ~/drive/ –vfs-cache-mode writes

    note: that’s 2 dashes without a space before the vfs. This site converts it to a long dash.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.