[TriLUG] Want command line program to selectively delete emails

Cristóbal Palmer via TriLUG trilug at trilug.org
Mon Jul 17 14:21:30 EDT 2023


On Mon, Jul 17, 2023, at 13:46, Ed Blackman via TriLUG wrote:
> Any suggestions for a command line program to select emails for 
> deletion based on command line options?  I specifically want one that 
> can remove emails that were received more than X days ago, but can also 
> express "but don't delete if they're flagged".

I think you can do what you want with mutt:

https://unix.stackexchange.com/questions/285978/how-to-automate-mutt-in-removing-old-mailing-list-emails

-CMP


More information about the TriLUG mailing list