Might be better off using a hash with the filename and say last mod time. Then
if a new file or the last mod time is different, then rebuild your data.
Wags ;)
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 25, 2002 06:11
To: [EMAIL PROTECTED]
Subject: appending files
hi
i have this very interesting task, and i need some inspiration.
i have a directory with say 10 fcgi files (text files):
now i would like to have a temp.fcgi file which contains all of the date from the
.fcgi files (appended). however, i want my program to update the temp.fcgi file if new
.fcgi files are added the directory. i was thinking something like testing the
combined size of the .fcgi files compared to
temp.fcgi and if it differs then wipe temp.fcgi and generate a new one?
how can that be done?
-martin
--
--
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]