ข้ามไปที่เนื้อหา

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

คุณสามารถเมานต์ Google Workspace Drive โดยใช้ URL ที่คัดลอกจากเบราว์เซอร์ วิธีนี้มีประโยชน์มากสำหรับการเมานต์โฟลเดอร์พิเศษเช่น 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

ดูเพิ่มเติม