summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJoshua Yun <joshua@joshuayun.com>2025-01-02 00:48:03 -0500
committerJoshua Yun <joshua@joshuayun.com>2025-01-02 00:48:03 -0500
commit59e1a7eafc2b73c009c1fa204ce4854b84a1b066 (patch)
tree4d42874ee7cc4cb0968af0c64d2f6622971f4389 /docs
parent4b968d214991ac71e32ec33345339067af9ba54b (diff)
downloadwiki-59e1a7eafc2b73c009c1fa204ce4854b84a1b066.tar.gz
Updated wiki to have rclone page
Diffstat (limited to 'docs')
-rw-r--r--docs/desktop/desktop.md2
-rw-r--r--docs/desktop/rclone.md23
2 files changed, 25 insertions, 0 deletions
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/)