Well you could write a script that traverses those directory's every X
minutes and stores all files. If a new record is found do a stat on a file
get UID of creator do UID->username converssion, and a new entry and then
e-mail away. Other then that, you would have to look into file system code,
to find if it can report a creation of a new file.

Mark
----- Original Message -----
From: "Bill O'Reilly" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 23, 2002 3:00 PM
Subject: Email Script Help


> Hi,
>
> I am trying to setup a script on a linux (RedHat 7.3) box that when
someone
> copies a file to a particular folder it would trigger an email being sent
to
> a user. There are multiple folders I would like to add this script to that
> all I would need to do would be to change the subject line of the email.
>
> Does anyone have any suggestions on where I can look to write something
like
> this or ideas on writing it? Is this possible?
>
> Thanks much,
>
> Bill O'Reilly
>
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to