File tree 1 file changed +18
-1
lines changed
1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,27 @@ Was originally prototyped as a PR to aw-server: https://github.com/ActivityWatch
15
15
This will start a daemon which pulls and pushes events with the sync directory (` ~/ActivityWatchSync ` by default) every 5 minutes:
16
16
17
17
``` sh
18
+ # Basic sync daemon (syncs all buckets every 5 minutes)
18
19
aw-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"
19
29
```
20
30
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
+ - Use ` --buckets "*" ` to explicitly sync all buckets
35
+ - Not specifying this option syncs all buckets by default
36
+ - ` --start-date ` : Only sync events after this date (YYYY-MM-DD)
37
+ - ` --sync-db ` : Specify a specific database file in the sync directory
38
+ - ` --mode ` : Choose sync mode: "push", "pull", or "both" (default: "both")
22
39
23
40
### Setting up sync
24
41
You can’t perform that action at this time.
0 commit comments