[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Cat a log file into a ZIP file..



Hi There,

I have a nice apache log rolling script that i run everynight for each of our virtual hosts. Part of this script is to back up the access.log and error.log after running webalizer. We produce AccessLogBackup_2005Mar19-230001.zip file for the customers to then download if the require the logs.

My question is, is there any way for us to 'cat' the access.log onto the access.log within the ZIP file? I would like to be able to produce a ZIP file of the months access and error logs for clients....
Cheers

Simon



Reply to: