in reply to Monitor directories or files have any change

I'm not aware of any. The basic strategy you probably want is to save a list of whatever you want to monitor for changes (file names? Sizes? Modification times?) in a file or database, then periodically check whether the current state is different from your last saved state.

A very simple way to do this is to save the output of ls -l in a file, then re-run the command and see if the output is different.

To monitor directories from a continuously running program, SGI::FAM might help.

Replies are listed 'Best First'.
Re^2: Monitor directories or files have any change
by benlaw (Scribe) on Oct 28, 2005 at 17:20 UTC
    Thanks , SGI::FAM quite difficult to me~ especially magicrcs