[TriLUG] Want command line program to selectively delete emails

Ed Blackman via TriLUG trilug at trilug.org
Tue Jul 18 10:08:12 EDT 2023


On Mon, Jul 17, 2023 at 08:45:33PM -0400, Steve Litt wrote:
> Ed Blackman via TriLUG said on Mon, 17 Jul 2023 13:46:26 -0400
> >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".
> 
> Doesn't this depend on how and where your emails are stored?

archivemail supports IMAP, Maildir, MH and mbox.  I think all the folders I want to purge are Maildir, though.

-- 
Ed Blackman


More information about the TriLUG mailing list