inotifywait: add --monitor command (#8278)

This commit is contained in:
CleanMachine1
2022-08-08 17:12:39 +00:00
committed by GitHub
parent 0b148c3071
commit 6d4dc061c5

View File

@@ -26,3 +26,7 @@
- Only watch for file modification events:
`while inotifywait --event {{modify}} {{path/to/file}}; do {{command}}; done`
- Continuously watch a specific file for events without exiting:
`while inotifywait --monitor {{path/to/file}}; do {{command}}; done`