aboutsummaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
authorSam Scholten2026-03-05 16:47:52 +1000
committerSam Scholten2026-03-05 16:47:52 +1000
commit0170a4358de8828a35ed73716d23be7b6c2f4acc (patch)
tree33a063f1ed5e756c1d43b657c0bf53ec34595e9e /justfile
parent71e30cc3eb3568875b4ee2eb9bce8796b2493ffd (diff)
downloadusync-main.tar.gz
usync-main.zip
Remove Windows/WSL specific code - document plain rclone for WindowsHEADmain
Diffstat (limited to 'justfile')
-rw-r--r--justfile19
1 files changed, 1 insertions, 18 deletions
diff --git a/justfile b/justfile
index 99f4b96..e1b5e0e 100644
--- a/justfile
+++ b/justfile
@@ -1,8 +1,5 @@
# Path synchronization - Core recipes
-set shell := ["bash", "-cu"]
-set windows-shell := ["bash", "-cu"] # Windows: use Git Bash, install just/rclone/unison via e.g. chocolatey
-
# CONFIGURE THESE FOR YOUR SETUP:
SOURCE := "/path/to/source" # Primary location (source for cloud backup)
TARGET := "/path/to/target" # Secondary location
@@ -81,19 +78,5 @@ status:
@echo "Cloud storage ({{CLOUD_REMOTE}}): $(mountpoint {{CLOUD_MOUNT_PATH}} >/dev/null 2>&1 && echo "mounted" || echo "not mounted")"
@echo "Unison profile: $(test -f ~/.unison/paths.prf && echo "exists" || echo "missing")"
-# Cloud sync without mounting (for Windows or headless use)
-sync-cloud-nomount:
- rclone sync -P --checkers 32 --transfers 32 --buffer-size 128M --retries 3 --order-by 'size,ascending' "{{SOURCE}}/usync" "{{CLOUD_REMOTE}}:{{CLOUD_PATH}}"
-
-sync-cloud-from-target-nomount:
- rclone sync -P --checkers 32 --transfers 32 --buffer-size 128M --retries 3 --order-by 'size,ascending' "{{TARGET}}/usync" "{{CLOUD_REMOTE}}:{{CLOUD_PATH}}"
-
-# Dry runs (nomount)
-sync-cloud-nomount-dry:
- rclone sync --dry-run -P --checkers 32 --transfers 32 --buffer-size 128M --retries 3 --order-by 'size,ascending' "{{SOURCE}}/usync" "{{CLOUD_REMOTE}}:{{CLOUD_PATH}}"
-
-sync-cloud-from-target-nomount-dry:
- rclone sync --dry-run -P --checkers 32 --transfers 32 --buffer-size 128M --retries 3 --order-by 'size,ascending' "{{TARGET}}/usync" "{{CLOUD_REMOTE}}:{{CLOUD_PATH}}"
-
default:
- just status \ No newline at end of file
+ just status