in reply to compress logs based on date and copy to local windows machine

The age of a file can be determined using ( -M path ) whereas it's modification date can be extracted using the stat() function.

I would suggest using Archive::Tar to archive the files into a single file and then Archive::Zip to zip the resulting tar file. These facilities are open-platformed.

-M

Free your mind

  • Comment on Re: compress logs based on date and copy to local windows machine

Replies are listed 'Best First'.
Re^2: compress logs based on date and copy to local windows machine
by Anonymous Monk on Apr 05, 2007 at 07:50 UTC
    Good one Mr.Moron i will certainly give it a try