GNU direvent
monitors events in file system directories. For each
event that occurs in a set of pre-configured directories, the program
calls an external program associated with it, supplying it the
information about the event and the location within the file system
where it took place.
GNU direvent
provides an easy way to configure
your system to react immediately if certain files undergo changes.
This may be helpful, for example, to track changes in important
configuration files.
Interfaces for tracking changes to file systems
are highly system-specific. GNU direvent
aims to provide a uniform
and system-independent command-level interface. As of version
5.4 direvent
works with modern Linux kernels
(since v. 2.6.13) and BSD systems (FreeBSD, NetBSD, OpenBSD, Darwin).