Skip to content

Instantly share code, notes, and snippets.

@zeyus
Created July 7, 2026 08:52
Show Gist options
  • Select an option

  • Save zeyus/e6c012cb28a9bf1ae7776a64320c4578 to your computer and use it in GitHub Desktop.

Select an option

Save zeyus/e6c012cb28a9bf1ae7776a64320c4578 to your computer and use it in GitHub Desktop.
Uni mounts (onedrive + ERDA) with RClone - finally without constant freezing of dolphin
#!/usr/bin/env fish
echo "Mounting OneDrive"
# mounts configured with rclone
rclone mount --vfs-cache-mode full --vfs-cache-max-age 336h --vfs-cache-max-size 50G --dir-cache-time 336h --async-read=true --buffer-size=32M --vfs-read-chunk-size 16M --vfs-read-chunk-size-limit 2G --vfs-refresh OneDriveAU:/ /home/zeyus/Documents/OneDriveAU/ --daemon
echo "Mounting Sharepoint"
rclone mount --vfs-cache-mode full --vfs-cache-max-age 336h --vfs-cache-max-size 50G --dir-cache-time 336h --async-read=true --buffer-size=32M --vfs-read-chunk-size 16M --vfs-read-chunk-size-limit 2G --vfs-refresh SharePointPhD:/ /home/zeyus/Documents/SharePointAU/ --daemon
echo "Mounted OneDriveAU and SharePointAU to ~/Documents/"
echo "Mounting ERDA (SSHFS)"
# pkey auth
sshfs io.erda.au.dk: /home/zeyus/Documents/erda-home -o idmap=user -o reconnect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment