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:
parent
0b148c3071
commit
6d4dc061c5
1 changed files with 4 additions and 0 deletions
|
@ -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`
|
||||
|
|
Loading…
Add table
Reference in a new issue