SharePoint¶
使用 RaiDrive CLI 在 Linux 上挂载 SharePoint Online 站点的文档库。通过选项指定 SharePoint 服务器和站点路径。
要获取所需的账户、密钥或 ID,请参见 Windows 应用的 SharePoint 指南中的准备工作。
进行 Microsoft 身份验证需要使用默认浏览器。
raidrivecli add sharepoint \
--sp-server company.sharepoint.com \
--sp-subsite /sites/mysite
如果未指定挂载目录,存储会挂载到 /mnt 下的相应目录,例如 /mnt/sharepoint。要指定挂载目录,请使用 --mount-path 选项。
raidrivecli add sharepoint \
--sp-server company.sharepoint.com \
--sp-subsite /sites/mysite \
--mount-path /myservices/sharepoint
信息
SharePoint China 存储使用 sharepointchina 而不是 sharepoint。
附加选项¶
--sp-server <server> host (e.g. companyname.sharepoint.com)
--sp-subsite <path> path (e.g. root, /sites/mysite)