Bỏ qua

Google Workspace

Cần có trình duyệt web mặc định để xác thực Google.

raidrivecli add googleworkspace

Nếu chạy lệnh mà không có tùy chọn, My Drive sẽ được gắn. Bạn có thể chọn Shared with me hoặc Shared drives bằng tùy chọn --subtype <mydrive|sharedwithme|shareddrives>.

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

Nếu không chỉ định thư mục gắn, bộ lưu trữ sẽ được gắn vào một thư mục trong /mnt, chẳng hạn /mnt/googleworkspace. Để chỉ định thư mục gắn, hãy dùng tùy chọn --mount-path.

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

Bạn có thể gắn Google Workspace Drive bằng URL sao chép từ trình duyệt. Cách này đặc biệt hữu ích khi gắn một thư mục đặc biệt như Computers.

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

Tùy chọn bổ sung

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

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

Xem thêm