extend readme

This commit is contained in:
Robin Appelman 2018-04-17 13:43:13 +02:00
commit 77be5f9dff

View file

@ -8,4 +8,11 @@ Push filesystem notifications into a redis list
notify-redis /path/to/watch redis://localhost list_name 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`) 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`)