Re: [SOLVED] filter on date

2023-06-02 Thread Jon LaBadie
On Fri, Jun 02, 2023 at 04:33:27PM +0200, steve wrote: Brilliant! Problem solved. Thanks to every one who helped me. ~ steve ~ An alternative approach - non mutt - is something like grepmail to pull copies of the messages you want. Original is left intact until you are sure you have what y

[SOLVED] Re: filter on date

2023-06-02 Thread steve
Brilliant! Problem solved. Thanks to every one who helped me. ~ steve ~ Le 02-06-2023, à 08:33:25 -0500, Tim Chase a écrit : 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

Re: filter on date

2023-06-02 Thread Tim Chase
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 ~

Re: filter on date

2023-06-02 Thread steve
Le 02-06-2023, à 17:33:24 +0530, Bhaskar Chowdhury a écrit : How could I do? How about running it on every month end, so you don't have to run it like for whole year That could also be an approach. (that was you were trying, right?) Right. I have so many files that I just wanted to make

Re: filter on date

2023-06-02 Thread steve
Le 02-06-2023, à 07:57:27 -0400, Ofer Inbar a écrit : You could filter on the Date: header with a regex. ~h'Date:.* [1] [A-Z]' Blinking fast, thanks ! Now how could I invert this in order to delete all other messages? s.

Re: filter on date

2023-06-02 Thread Bhaskar Chowdhury
On 10:09 Fri 02 Jun 2023, steve wrote: Hi, I receive every day pdf reports. I have now more than 1800 mails, which takes a lot of space. Every first day of the month, the report is a summary of the month, and I would like to only keep those one. I know how to filter mail using ~d. But that's on

Re: filter on date

2023-06-02 Thread Ofer Inbar
You could filter on the Date: header with a regex. ~h'Date:.* [1] [A-Z]' Look for emails that have a Date: header that have a "1" with spaces around it, followed by a capital letter. That works for me for selecting emails sent on the first of any month. -- Cos

filter on date

2023-06-02 Thread steve
Hi, I receive every day pdf reports. I have now more than 1800 mails, which takes a lot of space. Every first day of the month, the report is a summary of the month, and I would like to only keep those one. I know how to filter mail using ~d. But that's only for one specific day. I tried somethi