Re: How to detect a file creation

2006-11-17 Thread Jay Savage
On 11/17/06, Mário Gamito <[EMAIL PROTECTED]> wrote: Hi, I need to write a script that detects when a file is created in a certain directory and then e-mail it. I thought about fam. Problem is the machine is a AIX and it doens't have fam. I think in PERL is possible to do the trick. I don't k

Re: How to detect a file creation

2006-11-17 Thread Tom Phoenix
On 11/17/06, Mário Gamito <[EMAIL PROTECTED]> wrote: I need to write a script that detects when a file is created in a certain directory and then e-mail it. Sending a file by e-mail is the easy part. You'll need to work on "when a file is created". For example, if I were to run some big, slow

How to detect a file creation

2006-11-17 Thread Mário Gamito
Hi, I need to write a script that detects when a file is created in a certain directory and then e-mail it. I thought about fam. Problem is the machine is a AIX and it doens't have fam. I think in PERL is possible to do the trick. I don't know in advance the name of the files that are created.