Skip to content

Google Drive

Mount Google Drive on Linux with the RaiDrive CLI. Mount My Drive or Shared with me, or any folder by the URL copied from your browser.

To get the account, keys or IDs this needs, see Before you begin in the Google Drive guide for the Windows app.

A default web browser is required for Google authentication.

raidrivecli add googledrive

If you execute command without options, it will mount My Drive. Shared with me can be chosen with the --subtype <mydrive|sharedwithme> option.

raidrivecli add googledrive --subtype sharedwithme

If a mount directory is not specified, it will be mounted to a directory such as /mnt/googledrive under /mnt. To specify the mount directory, use the --mount-path option.

raidrivecli add googledrive --mount-path /myservices/googledrive

You can mount Google Drive using the URL copied from your browser. It's especially useful for mounting a special folder like Computers.

raidrivecli add googledrive --remote-url \
                https://drive.google.com/drive/u/0/folders/...

Additional options

--subtype <mydrive|sharedwithme>        My Drive,
                                        Shared with me [default: mydrive]

--remote-url <url>                      folder URL in browser

See also