[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] polling directories



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