On Thu, Dec 28, 2000 at 02:35:19AM -0800, Peter Wemm wrote:

> This sort of thing is why we added poll(2) and later kqueue(2) support
> for getting notifications on directory changes..  eg: you can get an event
> to tell you that a new file "appeared" in your directory.

See how the l0pht-watch port does exactly this. In fact you could
probably use that program as-is - I think it has the capability to
execute another process on file creation..

Kris

PGP signature

Reply via email to