Steps:

  1. install rclone: sudo apt install rclone
  2. authorize onedrive: rclone authorize "onedrive"
    1. log into onedrive in the prompted page. access token will be generated.
    2. copy and remember access token.
  3. config rclone clients: rclone config this will leads to an interactive configuration process
  4. check config: rclone config show
  5. mount to local dir: rclone mount <remote name>: <local dir>