https://github.com/four43/inotify-print
A container that will watch a mounted in folder and print the results to stdout/log
https://github.com/four43/inotify-print
Last synced: 4 months ago
JSON representation
A container that will watch a mounted in folder and print the results to stdout/log
- Host: GitHub
- URL: https://github.com/four43/inotify-print
- Owner: four43
- License: mit
- Created: 2016-06-13T19:13:02.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-06-13T19:18:48.000Z (almost 10 years ago)
- Last Synced: 2025-06-08T16:37:55.351Z (12 months ago)
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# inotify-print
A container that will watch a mounted in folder and print the results to stdout/log
## Usage
A very simple container for outputting events for when files change. Simply mount in the directory you would like to monitor, and it will output create, modify, move, and delete events of those files. Additional filtering can be achieved by piping the containers output through grep, awk, etc.
## Example
Run the following container, then run `touch /tmp/baz` in another shell:
```bash
$ docker run -v /tmp/inotify:/watch -it four43/inotify-print
Setting up watches.
Watches established.
[2016-06-13T18:51:08Z] CREATE /watch/baz
```