inotify-hookable

blocking command-line interface to inotify

Install

All systems
curl cmd.cat/inotify-hookable.sh
Debian Debian
apt-get install inotify-hookable
Ubuntu
apt-get install inotify-hookable
image/svg+xml Kali Linux
apt-get install inotify-hookable
Windows (WSL2)
sudo apt-get update sudo apt-get install inotify-hookable
Raspbian
apt-get install inotify-hookable

inotify-hookable

blocking command-line interface to inotify

inotify-hookable is a program that monitor files with Linux inotify. This program accepts options to specify the files to be monitored and the command to run when a file has changed (based in kernel inotify) inotify-hookable main advantage over inotifywait are: - command to run after watch can be specified with an option - emacs and vi backup files are ignored by default Example: inotify-hookable -f foo.c -c 'gcc -o foo foo.c'