On 1/21/21 9:00 PM, sundar wrote:
> Hello Mark,
> 
> I am trying to remove the archives older than 2 years by using the
> following python script. But, it works for 365 days only. any other
> possibilities to use this script for 2 years.
> 
> https://www.msapiro.net/scripts/prune_arch


Did you read it?

Options:

   ...

    -d <days>/--days=<days>
        Remove messages older than <days>. Default is 365.  This is
        based on the message's Date: header.  Messages with missing or
        unparseable Date: header will be removed.

I.e., for 2 years specify '-d 730'

-- 
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
    https://mail.python.org/archives/list/mailman-users@python.org/

Reply via email to