Skip to content

Google Workspace

Mount Google Workspace Drive on Linux with the RaiDrive CLI. Mount My Drive, Shared with me or Shared drives, 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 Workspace guide for the Windows app.

A default web browser is required for Google authentication.

raidrivecli add googleworkspace

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

raidrivecli add googleworkspace --subtype sharedwithme
raidrivecli add googleworkspace --subtype shareddrives

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

raidrivecli add googleworkspace --mount-path /myservices/googleworkspace

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

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

Additional options

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

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

See also