Mailing List ecs-isp@2rosenthals.com gearchiveerd bericht #1238

Van: "Ian Manners" <ecs-isp@2rosenthals.com> Volledige berichtkoppen
Ongedecodeerd bericht
Onderwerp: Re: [eCS-ISP] script to rotate logs, old mails etc. and create a dated zip
Datum: Sun, 12 Oct 2025 22:30:12 +0800 (AWS)
Aan: "eCS ISP Mailing List" <ecs-isp@2rosenthals.com>

Hi Massimo,

> i need something that achive all .MSG files to a ZIP archive with date
> and after delete the .MSG
>
> thanks, but i guess this script can't help me

It will, you simply have to modify it to your needs.

I use the same script to archive *.log files for both weasel and
FTPServer, then delete the logs after. All you need to do is change .'log'
to .'msg', the date part is already in the script, and becomes part of the
archived filename.

Cheers



Aanmelden: Feed, Samenvatting, Index.
Afmelden
Mail naar ListMaster