aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 40d53af3b406cab7f237cc74a7cd788fde319814 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# usync

<img src="logo.png" width="120" markdown="1">

Sync any two paths with cloud backup.

## Setup

```bash
git clone <repo> && cd usync
just install-deps
# Edit justfile: set SOURCE and TARGET paths
rclone config
just setup
```

## Use

```bash
just sync-paths       # Between paths
just sync-cloud       # To cloud
just status           # Check
```

## Structure

```
SOURCE/usync/         # Your files
TARGET/usync/         # Copy
cloud:/usync/         # Backup
```

## Commands

- `setup` - Create directories
- `check` - Verify paths
- `sync-paths` - Fast sync (unison)
- `sync-cloud` - Cloud backup (rclone)
- `status` - Show state

## Files

- `justfile` - Set SOURCE and TARGET paths
- `unison-profile.prf` - Sync settings