Google Drive¶
Google 驗證需要預設網頁瀏覽器。
raidrivecli add googledrive
若不指定選項執行指令,會掛載 My Drive。可以使用 --subtype <mydrive|sharedwithme> 選項改為選擇 Shared with me。
raidrivecli add googledrive --subtype sharedwithme
若未指定掛載目錄,會掛載到 /mnt 下的目錄,例如 /mnt/googledrive。若要指定掛載目錄,請使用 --mount-path 選項。
raidrivecli add googledrive --mount-path /myservices/googledrive
您可以使用從瀏覽器複製的網址掛載 Google Drive。這在掛載 Computers 等特殊資料夾時特別有用。
raidrivecli add googledrive --remote-url \
https://drive.google.com/drive/u/0/folders/...
其他選項¶
--subtype <mydrive|sharedwithme> My Drive,
Shared with me [default: mydrive]
--remote-url <url> folder URL in browser