Re: monitor for a filename

2004-05-07 Thread John W. Krahn
Charles Farinella wrote: > > I need to look at a directory for about 90 seconds, and if a certain > file shows up, do something with it. A pointer to a man page or any > reference would be appreciated. If you know the file name in advance then use one of the file test operators like -e or maybe

Re: monitor for a filename

2004-05-07 Thread Wiggins d Anconia
> I need to look at a directory for about 90 seconds, and if a certain > file shows up, do something with it. A pointer to a man page or any > reference would be appreciated. > perldoc -f opendir perldoc -f readdir A simple way to do this is to open the directory, loop over its contents with re

monitor for a filename

2004-05-07 Thread Charles Farinella
I need to look at a directory for about 90 seconds, and if a certain file shows up, do something with it. A pointer to a man page or any reference would be appreciated. --charlie -- Charles Farinella Appropriate Solutions, Inc. 603-924-6079 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For ad