aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorSam Scholten2026-03-05 16:47:52 +1000
committerSam Scholten2026-03-05 16:47:52 +1000
commit0170a4358de8828a35ed73716d23be7b6c2f4acc (patch)
tree33a063f1ed5e756c1d43b657c0bf53ec34595e9e /README.md
parent71e30cc3eb3568875b4ee2eb9bce8796b2493ffd (diff)
downloadusync-0170a4358de8828a35ed73716d23be7b6c2f4acc.tar.gz
usync-0170a4358de8828a35ed73716d23be7b6c2f4acc.zip
Remove Windows/WSL specific code - document plain rclone for WindowsHEADmain
Diffstat (limited to 'README.md')
-rw-r--r--README.md59
1 files changed, 10 insertions, 49 deletions
diff --git a/README.md b/README.md
index ece64f4..dd64cdf 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@
Sync any two paths with each other & cloud backup.
Uses `unison` to sync the paths, rclone to sync to a cloud provider.
-
+
## Setup
```bash
@@ -23,7 +23,6 @@ just sync-cloud # To cloud
just status # Check
```
-
## Commands
- `setup` - Create directories
@@ -32,63 +31,25 @@ just status # Check
- `sync-cloud` - Cloud backup (rclone)
- `status` - Show state
-## Windows (Git Bash)
+## Windows
-Local sync requires both drives accessible. Cloud sync works from either drive.
+For cloud backup from Windows, use rclone directly:
### Install
-- Git for Windows: https://git-scm.com/download/win
-- just: `scoop install just` / `choco install just`
-- rclone: https://rclone.org/downloads/
-- unison: https://github.com/bcpierce00/unison/releases
+rclone for Windows: https://rclone.org/downloads/
### Setup
-```bash
-rclone config
-# Edit justfile paths for your Windows setup (Git Bash uses /c/ for C:\)
-```
-
-### Use
-
-```bash
-just sync-cloud # SOURCE → cloud
-just sync-cloud-from-target # TARGET → cloud
+```powershell
+rclone config # Configure your cloud remote
```
----
-
-## Windows (WSL) with usbipd-win
-
-```bash
-# 1. Install usbipd-win (Admin PowerShell)
-# Download from https://github.com/dorssel/usbipd-win/releases/latest
-
-# 2. List devices
-usbipd list
-# Note BUSID (e.g., 1-20)
-
-# 3. Attach (Admin PowerShell)
-usbipd bind --busid 1-20
-usbipd attach --wsl --busid 1-20
-wsl # Start admin WSL
-
-# 4. In admin WSL
-sudo mkdir /mnt/drive1
-sudo mount /dev/sdb1 /mnt/drive1 # Replace sdb1
-
-# 5. Configure & run
-# Edit justfile: SOURCE="/mnt/drive1"
-just sync-cloud
-
-# Cleanup (optional)
-sudo umount /mnt/drive1
-# sudo umount /mnt/drive2 # If using second drive
+### Run
-# Detach & unbind (required before removing drive)
-usbipd detach --busid 1-20
-usbipd unbind --busid 1-20
+```powershell
+# Replace paths with your Windows drive letter and configured remote name
+rclone sync -P "H:\usync" "your-remote:/usync"
```
## Configure