Google Workspace¶
进行 Google 身份验证需要使用默认浏览器。
raidrivecli add googleworkspace
不带选项执行命令时,将挂载 My Drive。可以通过 --subtype <mydrive|sharedwithme|shareddrives> 选项选择 Shared with me 或 Shared drives。
raidrivecli add googleworkspace --subtype sharedwithme
raidrivecli add googleworkspace --subtype shareddrives
如果未指定挂载目录,存储会挂载到 /mnt 下的相应目录,例如 /mnt/googleworkspace。要指定挂载目录,请使用 --mount-path 选项。
raidrivecli add googleworkspace --mount-path /myservices/googleworkspace
您可以使用从浏览器复制的 URL 挂载 Google Workspace Drive。这对于挂载 Computers 等特殊文件夹特别有用。
raidrivecli add googleworkspace --remote-url \
https://drive.google.com/drive/u/0/folders/...
附加选项¶
--subtype <mydrive|sharedwithme|shareddrives>
My Drive,
Shared with me,
Shared drives [default: mydrive]
--remote-url <url> folder URL in browser