OneDrive Business

A default web browser is required for Microsoft authentication.

raidrivecli add onedrivebusiness

If you execute command without options, it will mount My Files. Shared can be choosed with the --subtype option.

raidrivecli add onedrivebusiness --subtype shared

If a mount directory is not specified, it will be mounted to a directory such as /mnt/onedrivebusiness under /mnt. To specify the mount directory, use the --mount-path option.

raidrivecli add onedrivebusiness --mount-path /myservices/onedrivebusiness

You can mount OneDrive using the URL copied from your browser. It's especially useful for mounting a special folder.

raidrivecli add onedrive --remote-url \
                           https://company-my.sharepoint.com/my?id=...

Info

OneDrive Business China storage uses onedrivebusinesschina instead of onedrivebusiness.

ADDITIONAL OPTIONS

--subtype <files|shared>                My Files, Shared
--remote-url <url>                      folder URL in browser

SEE ALSO