 |
|
^ click above ^ |
12.05.03
By
A.P. Lawrence
Many modern systems provide a way to watch a directory for events
(new files, reading the directory, modification of a file in the
directory, etc.). This facility can be done in various ways, from
providing hooks in the filesystem code itself to something that
watches for inode changes. Linux and BSD have several possibilities
in that regard, including dnotify,
changedfiles,
and watch.
Mac OS X has FileMonitor
(shareware), and it's certainly possible that some of the BSD
tools might compile on OS X. But what do you do when there is no support
in the OS?
Brute Force |