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

Google Drive

การยืนยันตัวตนของ Google ต้องใช้เว็บเบราว์เซอร์เริ่มต้น

raidrivecli add googledrive

หากรันคำสั่งโดยไม่ระบุตัวเลือก ระบบจะเมานต์ My Drive เลือก Shared with me ได้ด้วยตัวเลือก --subtype <mydrive|sharedwithme>

raidrivecli add googledrive --subtype sharedwithme

หากไม่ระบุไดเรกทอรีเมานต์ ระบบจะเมานต์ไปยังไดเรกทอรีเช่น /mnt/googledrive ใต้ /mnt หากต้องการระบุไดเรกทอรีเมานต์ ให้ใช้ตัวเลือก --mount-path

raidrivecli add googledrive --mount-path /myservices/googledrive

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

ดูเพิ่มเติม