filter on date

Tim Chase mutt at tim.thechases.com
Fri Jun 2 13:33:25 UTC 2023


On 2023-06-02 14:06, steve wrote:
> >You could filter on the Date: header with a regex.
> > ~h'Date:.* [1] [A-Z]'
>
> Now how could I invert this in order to delete all other messages?

I'd likely tag *all* messages:

  shift+t
  .
  enter

then control+t to untag the pattern above

  control+t
  ~h'Date:.* [1] [A-Z]'
  enter

which should leave the unwanted messages tagged, letting you use

  semicolon
  d

-tkc







More information about the Mutt-users mailing list