21 Jan
2021
21 Jan
'21
10 p.m.
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
-- Regards, Sundar
21 Jan
21 Jan
10:08 p.m.
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.
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 mark@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
1189
Age (days ago)
1189
Last active (days ago)
1 comments
2 participants
participants (2)
-
Mark Sapiro
-
sundar