* Dan Langille <[EMAIL PROTECTED]> [001226 23:50] wrote:
> 
> My idea is to have a daemon, or something resembling one, sitting on 
> the box watching the directory.  When a new file appears, it starts a perl 
> script.  This perl script is beyound the scope of my question, but it  
> processes all the files in the directory.  When finished, it looks for any 
> more files and repeats as necessary.  If no more files, it exits.
> 

This isn't an answer to your main question (i see it's already been
discussed), but you may be able to use setup a kevent on the
directory which should inform you if any files are added to it.

-- 
-Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]]
"I have the heart of a child; I keep it in a jar on my desk."


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to