Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

RClone is a third party software not supported by Microsoft.

  1. Open a terminal window and install RClone using the following command.

    Code Block
    curl https://rclone.org/install.sh | sudo bash
  2. Start configuring OneDrive in RClone by running the config command.

    Code Block
    rclone config
  3. You will be prompted with configuration options. Choose n to create a new remote.

    Code Block
    >>>No remotes found, make a new one?
    n) New remote
    s) Set configuration password
    q) Quit config
    n/s/q> n
  4. Enter “OneDrive” as the name for the remote.

  5. For storage type enter “onedrive”.

  6. Leave client_id and client_secret empty. Press enter to leave the fields blank.

    Code Block
    >>>Option client_id.
    OAuth Client Id.
    Leave blank normally.
    Enter a value. Press Enter to leave empty.
    client_id> 
    >>>Option client_secret.
    OAuth Client Secret.
    Leave blank normally.
    Enter a value. Press Enter to leave empty.
    client_secret>
  7. Enter 1 for the region.

  8. Press n to skip advanced configuration.

    Code Block
    >>>Edit advanced config?
    y) Yes
    n) No (default)
    y/n> n
  9. Press y to use auto configuration.

    Code Block
    >>>Use auto config?
     * Say Y if not sure
     * Say N if you are working on a remote or headless machine
    y) Yes (default)
    n) No
    y/n> y
  10. A browser window will open to a Microsoft login screen. Login using your UConn email address and NetID password.

...

  1. Image AddedImage Added
  2. After logging in, close the browser window and go back to the terminal that is running RClone.

...

  1. Image Added
  2. When prompted for config_type enter “onedrive”.

  3. You’ll be prompted to connect to the root of your OneDrive. Press y to continue.

    Code Block
    >>>Drive OK?
    Found drive "root" of type "business"
    URL: https://uconn-my.sharepoint.com/personal/timothy_bogues_uconn_edu/Documents
    y) Yes (default)
    n) No
    y/n> y
  4. Press y to confirm that the remote is ok.

    Code Block
    >>>y) Yes this is OK (default)
    e) Edit this remote
    d) Delete this remote
    y/e/d> y
  5. Press q to close the remote configuration procedure.

    Code Block
    Current remotes:
    Name                 Type
    ====                 ====
    OneDrive             onedrive
    e) Edit existing remote
    n) New remote
    d) Delete remote
    r) Rename remote
    c) Copy remote
    s) Set configuration password
    q) Quit config
    e/n/d/r/c/s/q> q
  6. Create a “OneDrive” directory in your home folder to mount the remote that you just created.

    Code Block
    mkdir ~/OneDrive
  7. Mount the remote by using the command:

    Code Block
    rclone --vfs-cache-mode writes mount OneDrive: ~/OneDrive &
  8. Close the terminal window. You should now have OneDrive mounted in your file system.

Info

If you reboot the computer you will need to remount the remote using the command in step 17.

...