Skip to content

Instantly share code, notes, and snippets.

@Eddy-Barraud
Created August 26, 2018 15:32
Show Gist options
  • Save Eddy-Barraud/2679c15fc842c7b686c265ef19ad68c9 to your computer and use it in GitHub Desktop.
Save Eddy-Barraud/2679c15fc842c7b686c265ef19ad68c9 to your computer and use it in GitHub Desktop.
Mount cloud disk (OneDrive,etc...) In Linux Using Rclone (&fuse)

Thanks to Rclone you can mount any kind of cloud disk !

Begin by installing rclone

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

Add a new remote to Rclone

rclone config ...

detailed instructions HERE : https://rclone.org/docs/

Mount as a filesystem

rclone --vfs-cache-mode writes mount onedrive: ~/OneDrive --daemon --allow-other

--allow-other is optional

--daemon too

--vfs-cache-mode writes; this is recommended, more info here : https://rclone.org/commands/rclone_mount/#file-caching

Mount at startup

Add the line above in a crontab...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment