Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: Watching a driectory for change

by Snuggle (Friar)
on Jun 13, 2002 at 14:04 UTC ( #174202=note: print w/replies, xml ) Need Help??

in reply to Watching a driectory for change

This is an interesting problem, and some people have already mentioned Win32::ChangeModify. I am wondering if there is a module for *nix that does the same thing, or is there a way to query the operating system to have the same effect?

Anyway, no drug, not even alcohol, causes the fundamental ills of society. If we're looking for the source of our troubles, we shouldn't test people for drugs, we should test them for stupidity, ignorance, greed and love of power.

--P. J. O'Rourke

Replies are listed 'Best First'.
Re: Re: Watching a driectory for change
by paulbort (Hermit) on Jun 13, 2002 at 16:04 UTC
    I just noticed last night that there's a daemon in RH 7.3 that does file change notifications called sgi_fam. I haven't looked in to it, just saw it when I was cleaning up an install.

    Spring: Forces, Coiled Again!
Re: Re: Watching a driectory for change
by kappa (Chaplain) on Jun 14, 2002 at 06:45 UTC
    There's a kqueue facility in FreeBSD which could be used for such a task. Unfortunately, I see only a python interface wrapper for it :(

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://174202]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (2)
As of 2023-04-02 06:26 GMT
Find Nodes?
    Voting Booth?

    No recent polls found