AERC-SEARCH(1) | General Commands Manual | AERC-SEARCH(1) |
NAME
aerc-search - search and filter patterns and options for aerc(1)
SYNTAX
This syntax is common to all backends.
:filter [-ruba] [-x <flag>]
[-X <flag>] [-H
<header>:[<value>]] [-f <from>]
[-t <to>] [-c <cc>] [-d
<start[..end]>] [<terms>...]
:search [-ruba] [-x <flag>] [-X
<flag>] [-H <header>:[<value>]]
[-f <from>] [-t <to>] [-c
<cc>] [-d <start[..end]>]
[<terms>...]
:filter restricts the displayed messages to only the search results.
Each space separated term of <terms>, if provided, is searched case-insensitively among subject lines unless -b or -a are provided.
-r: Search for read messages
-u: Search for unread messages
-x <flag>, -X <flag>: Restrict search to messages with or without <flag>
Possible values are:
-H <header>:[<value>]:
-b: Search in the body of the messages
-a: Search in the entire text of the messages
-f <from>: Search for messages from <from>
-t <to>: Search for messages to <to>
-c <cc>: Search for messages cc'ed to <cc>
-d <start[..end]>:
Spaces and underscores are allowed in relative dates to improve readability.
YYYY-MM-DD
today, yesterday
(this|last) (year|month|week)
Weekdays, Monthnames
<N> (y[ear]|m[onth]|w[eek]|d[ay])
NOTMUCH
For notmuch, it is possible to avoid using the above flags and only rely on notmuch search syntax.
:filter query...
:search query...
The query will only apply on top of the active folder query.
Example, jump to next unread:
SEE ALSO
AUTHORS
Originally created by Drew DeVault and maintained by Robin Jarry who is assisted by other open source contributors. For more information about aerc development, see https://sr.ht/~rjarry/aerc/.
2024-07-30 |