wait_on

Shell scripts wrapper providing access to kqueue(3) file monitoring

brewmacoslinux
Try with needOr install directly
Source

About

Provides shell scripts with access to kqueue(3)

Commands

wait_on

Examples

Wait for a file to be created or modified$ wait_on /path/to/file
Monitor a directory and trigger action when contents change$ wait_on /path/to/directory && echo 'Directory changed'
Wait for multiple files with timeout$ wait_on -t 30 file1.txt file2.txt