Skip to content

Commit 3707d20

Browse files
committed
docs(sync):update docs for advanced sync daemon support
1 parent 1826e8c commit 3707d20

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

aw-sync/README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,18 @@ Was originally prototyped as a PR to aw-server: https://github.com/ActivityWatch
1515
This will start a daemon which pulls and pushes events with the sync directory (`~/ActivityWatchSync` by default) every 5 minutes:
1616

1717
```sh
18+
# Basic sync daemon (syncs every 5 minutes)
1819
aw-sync
20+
21+
# Advanced sync daemon with custom options
22+
aw-sync daemon --advanced --buckets "aw-watcher-window,aw-watcher-afk" --start-date "2024-01-01"
1923
```
2024

21-
For more options, see `aw-sync --help`.
25+
For more options, see `aw-sync --help`. Some notable options:
26+
- `--advanced`: Use advanced sync mode with more control
27+
- `--buckets`: Specify which buckets to sync (comma-separated)
28+
- `--start-date`: Only sync events after this date (YYYY-MM-DD)
29+
- `--sync-db`: Specify a specific database file in the sync directory
2230

2331
### Setting up sync
2432

0 commit comments

Comments
 (0)