mirror of
https://github.com/icewind1991/notify-redis.git
synced 2026-06-03 18:24:12 +02:00
extend readme
This commit is contained in:
parent
7d920d0df8
commit
77be5f9dff
1 changed files with 7 additions and 0 deletions
|
|
@ -8,4 +8,11 @@ Push filesystem notifications into a redis list
|
|||
notify-redis /path/to/watch redis://localhost list_name
|
||||
```
|
||||
|
||||
The recorded filesystem events will be pushed to the configured list.
|
||||
The events are encoded in the following ways
|
||||
|
||||
- `write|$path`
|
||||
- `remame|$from|$to`
|
||||
- `remove|$path`
|
||||
|
||||
Filesystem events are debounced and merge where applicable (e.g. `touch foo.txt`, `mv foo.txt bar.txt` will result in one write event for `bar.txt`)
|
||||
Loading…
Add table
Add a link
Reference in a new issue