From 59e1a7eafc2b73c009c1fa204ce4854b84a1b066 Mon Sep 17 00:00:00 2001 From: Joshua Yun Date: Thu, 2 Jan 2025 00:48:03 -0500 Subject: Updated wiki to have rclone page --- docs/desktop/desktop.md | 2 ++ docs/desktop/rclone.md | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 docs/desktop/rclone.md (limited to 'docs') diff --git a/docs/desktop/desktop.md b/docs/desktop/desktop.md index fa5bd95..816aea8 100644 --- a/docs/desktop/desktop.md +++ b/docs/desktop/desktop.md @@ -6,6 +6,8 @@ This page describes several useful tips and configurations that I've used. [Syncthing on Artix](syncthing.md) +[rclone mount reference](rclone.md) + ## Disabling ACPI for sleep Somtimes we cannot sleep the computer due to ACPI devices being annoying. diff --git a/docs/desktop/rclone.md b/docs/desktop/rclone.md new file mode 100644 index 0000000..375ac65 --- /dev/null +++ b/docs/desktop/rclone.md @@ -0,0 +1,23 @@ +# rclone remote mounts using sftp + +This is a guide on setting up rclone mounts with snippets + +rclone.conf should be something as follows: + + [Homelab] + type = sftp + host = joshuayun.com + port = 3333 + key_file = /home/joshua/.ssh/id_ed25519 + shell_type = unix + md5sum_command = md5sum + sha1sum_command = sha1sum + user = joshua + +The mount command would look something like this, we need to specify uid and gid in the options: + + mount Remote1:remote_dir local_dir -t rclone -o vfs_cache_mode=writes,config=config_dir/rlone.conf,allow_other=true,uid=1000,gid=1000 + +References: + +[rclone mount](https://rclone.org/commands/rclone_mount/) -- cgit v1.2.3