1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-15 08:15:53 +02:00

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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`