Skip to content

Instantly share code, notes, and snippets.

@palopezv
Last active March 28, 2020 17:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save palopezv/0529b647d2f5d0f9e07a98bbe2d34d24 to your computer and use it in GitHub Desktop.
Save palopezv/0529b647d2f5d0f9e07a98bbe2d34d24 to your computer and use it in GitHub Desktop.
mounting cloud storage with rclone
# Unix-like OSs
#
# From the command line or a script, if using systemd
#
systemd-run --scope --user --nice=10 rclone mount --vfs-cache-mode full --vfs-cache-max-age <hours>h<minutes>m --write-back-cache --option big_writes remote: /home/<user>/<target>
#
# From a session manager or an OS using a diffent process manager...
#
rclone mount --vfs-cache-mode full --vfs-cache-max-age <hours>h<minutes>m --write-back-cache --option big_writes remote: /home/<user>/<target>
#
# Windows
#
systemd-run --scope --user --nice=10 rclone mount --vfs-cache-mode full --vfs-cache-max-age <hours>h<minutes>m --write-back-cache --option big_writes remote: <free_drive_letter>:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment