mirror of
https://github.com/icewind1991/notify-redis.git
synced 2026-06-03 18:24:12 +02:00
No description
- Rust 71.6%
- Nix 26.6%
- Dockerfile 1.8%
| src | ||
| .gitignore | ||
| .travis.yml | ||
| Cargo.lock | ||
| Cargo.toml | ||
| Dockerfile | ||
| LICENSE | ||
| Makefile | ||
| notify-redis.iml | ||
| README.md | ||
| test.sh | ||
| travis-build.sh | ||
Notify Redis
Push filesystem notifications into a redis list
Getting the binary
There are 3 ways for getting the binary to run
- Grab a pre-compiled static binary from the releases page.
- By running
maketo use docker to build a static binary (requiresmakeanddocker) - By running
cargo build(requiresrust)
Usage
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|$pathremame|$from|$toremove|$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)