Filewatch uses the linux 'fanotify' subsystem to monitor filesystem events. It can trigger on open, modify and close events and write to logs, send to syslog, exec a command, or update filesystem extended attributes (xattr) in response to events, including updating a 'last changed' xattr that records who/what/when changed a file.
1.207 Apr 2019 12:55
Mostly cleanups and minor improvements. Added the 'exec' action to allow running a command when a file changes. Upgraded to libUseful-4. Will build against a system-wide libUseful-4 if one is installed. Added -version and -help command-line options.