OneDrive Configuration

devsdhawan
  4 years ago
  -2

*How to Install OneDrive in Linux-Mint*

1. Download rclone
# curl https://rclone.org/install.sh | sudo bash

2. Run Command
# rclone config

3. Press >n for "new remote"
4. name >onedrive
5. Press >22 for "Microsoft OneDrive"
6. client ID> leave blank and enter
7. client_secret> leave blank and enter
8. advanced config> n for "no"
9. auto config >y for "yes"
10. choice >1 for "onedrive personal"
11. choose drive to use >0 for "personal"
12. is that ok >y
13. again >y for "yes this is ok"
14. at last >q for "quit config"

15. create folder
# mkdir OneDrive

16. Chech the Mount OneDrive
# rclone --vfs-cache-mode writes mount onedrive: /home/dev/OneDrive/

Now check the OneDrive folder
If all is well then
Press Ctrl+c to cancel in Terminal

17. Mount OneDrive on Startup
Go to Startup Applications
click on + icon
Select custom command

Now add command to startup applications ---> custom command
# sh -c "rclone --vfs-cache-mode writes mount onedrive: /home/dev/OneDrive"

Give name "OneDrive"
Comment "Allow to use onedrive"