File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,26 @@ Was originally prototyped as a PR to aw-server: https://github.com/ActivityWatch
1515This 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 all buckets every 5 minutes)
1819aw-sync
20+
21+ # Same as above
22+ aw-sync daemon
23+
24+ # Sync daemon with specific buckets only
25+ aw-sync daemon --buckets " aw-watcher-window,aw-watcher-afk" --start-date " 2024-01-01"
26+
27+ # Sync all buckets once and exit
28+ aw-sync sync --start-date " 2024-01-01"
1929```
2030
21- For more options, see ` aw-sync --help ` .
31+ For more options, see ` aw-sync --help ` . Some notable options:
32+ - ` --buckets ` : Specify which buckets to sync (comma-separated). By default, all buckets are synced.
33+ - Use ` --buckets "bucket1,bucket2" ` to sync specific buckets
34+ - Not specifying this option syncs all buckets by default
35+ - ` --start-date ` : Only sync events after this date (YYYY-MM-DD)
36+ - ` --sync-db ` : Specify a specific database file in the sync directory
37+ - ` --mode ` : Choose sync mode: "push", "pull", or "both" (default: "both")
2238
2339### Setting up sync
2440
You can’t perform that action at this time.
0 commit comments