[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] polling directories
- Subject: [ale] polling directories
- From: stephen at phynp7.phy-astr.gsu.edu (Stephen Leonard)
- Date: Thu Sep 30 08:15:45 2004
- In-reply-to: <[email protected]>
- References: <[email protected]>
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