Suresh wrote:
Write a small daemon using bash script or in some other way. That daemon
searching for files in the directory if present, it will copy the files into
a separate directory. I don't know how much extent it will work for u. Its
my suggestion. For example, the application stores the data in /tmp/*.txt
and delete the same. Whether u want to backup the /tmp/*.txt to some other
folder. In this case, daemon will solve this problem. I think Bash
Scripting work in both Linux as well as HP Unix.
Regards,
K. Suresh
-----Original Message-----
From: ilugc-bounces@xxxxxxxxxxxxx [mailto:ilugc-bounces@xxxxxxxxxxxxx] On
Behalf Of Bala
Sent: Friday, April 22, 2005 9:19 AM
To: ilugc@xxxxxxxxxxxxx
Subject: [Ilugc] how to make copy of file while writing to a directory
Hi All,
we have application(don't have source) writing temp files in a
directory,
after few seconds it will be deleted, now we want to make a copy of those
files,
how to do that??
we want to do this in Linux as well as HP Unix??
any idea??
thanks,
-bala-