[ale] polling directories

Stephen Leonard stephen at phynp7.phy-astr.gsu.edu
Thu Sep 30 08:15:45 EDT 2004


On Wed, Sep 29, 2004 at 09:37:50PM -0400, John Wells wrote:
> I'd like to watch a few specific directories on a Linux system for new
> files.  Each time a user copies a file into the directory, I'd like to
> specify a script that will run, using that file as its argument.
> 
> I can write this myself, but I wonder if someone hasn't already invented
> this wheel?  Is anything approaching a standard way to do this?

Perhaps you're looking for FAM?

http://oss.sgi.com/projects/fam/index.html

It appears that CPAN also has a module for this library too, SGI::FAM.

stephen



More information about the Ale mailing list