this post was submitted on 11 Feb 2024
29 points (93.9% liked)

Linux

48208 readers
709 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I am again deleting old mails. And I have inboxes with like 200 of them, it is hell.

I would like to autodelete mails that contain a date. If there are multiple dates, take the latest one. If that date is older than x days from today, delete the mail.

Is there something like that? Or some regex possible in native filters?

you are viewing a single comment's thread
view the rest of the comments
[–] Shdwdrgn@mander.xyz 2 points 9 months ago* (last edited 9 months ago) (1 children)

So you're not simply trying to delete old emails based on the date they were sent to you? It might help to know where these dates are located, if in the subject line or in the body. And is consistently a straightforward date like "2024-02-11", or are you also trying to look for vague references like "Feb 11"? That might make a difference for how the question is answered, however a quick google search suggests that the FiltaQuilla add-on will support regular expressions in the message filters for addresses and subjects, while "Expression Search / GmailUI" adds expressions for body searches.

[–] Pantherina@feddit.de 1 points 9 months ago

No that would be easy. Often that also works and is kinda enough, but invitations are always sent in different timespans ahead.

Hm, seems like both addons are not what I need but if there is a good modern one that could be used as reference.