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

Google Workspace

เมานต์ Google Workspace Drive บน Linux ด้วย RaiDrive CLI เมานต์ My Drive, Shared with me หรือ Shared drives หรือโฟลเดอร์ใด ๆ ด้วย URL ที่คัดลอกจากเบราว์เซอร์ของคุณ

หากต้องการเตรียมบัญชี คีย์ หรือ ID ที่ต้องใช้ ให้ดู ก่อนเริ่มต้น ในคู่มือ Google Workspace สำหรับแอป Windows

การยืนยันตัวตนของ 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

ดูเพิ่มเติม