Google Workspace¶
Google の認証には既定のウェブブラウザが必要です。
raidrivecli add googleworkspace
オプションを指定せずにコマンドを実行すると、My Drive がマウントされます。Shared with me と Shared drives は --subtype <mydrive|sharedwithme|shareddrives> オプションで選択できます。
raidrivecli add googleworkspace --subtype sharedwithme
raidrivecli add googleworkspace --subtype shareddrives
マウントディレクトリを指定しない場合は、/mnt/googleworkspace のように /mnt の下のディレクトリにマウントされます。マウントディレクトリを指定するには、--mount-path オプションを使います。
raidrivecli add googleworkspace --mount-path /myservices/googleworkspace
ブラウザからコピーした URL を使って Google Workspace のドライブをマウントできます。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