1aerc-search(1)              General Commands Manual             aerc-search(1)
2
3
4

NAME

6       aerc-search - search and filter patterns and options for aerc(1)
7

IMAP

9       search [-ruba] [-x <flag>] [-X <flag>] [-f <from>] [-t <to>] [-c <cc>]
10       [terms...]
11           Searches the current folder for messages matching the given set of
12           conditions.
13
14           Each space separated term of terms, if provided, is searched case-
15           insensitively among subject lines unless -b or -a are provided.
16
17           -r: Search for read messages
18
19           -u: Search for unread messages
20
21           -x <flag>, -X <flag>: Restrict search to messages with or without
22           <flag>
23
24           Use -x to search for messages with the flag set. Use -X to search
25           for messages without the flag set.
26
27           Possible values are:
28
29           Seen
30               Read messages
31
32           Answered
33               Replied messages
34
35           Flagged
36               Flagged messages
37
38           -b: Search in the body of the messages
39
40           -a: Search in the entire text of the messages
41
42           -f <from>: Search for messages from <from>
43
44           -t <to>: Search for messages to <to>
45
46           -c <cc>: Search for messages cc'ed to <cc>
47

MAILDIR

49       search [-ruba] [-x <flag>] [-X <flag>] [-f <from>] [-t <to>] [-c <cc>]
50       [terms...]
51           Searches the current folder for messages matching the given set of
52           conditions.
53
54           Each space separated term of terms, if provided, is searched case-
55           insensitively among subject lines unless -b or -a are provided.
56
57           -r: Search for read messages
58
59           -u: Search for unread messages
60
61           -x <flag>, -X <flag>: Restrict search to messages with or without
62           <flag>
63
64           Use -x to search for messages with the flag set. Use -X to search
65           for messages without the flag set.
66
67           Possible values are:
68
69           Seen
70               Read messages
71
72           Answered
73               Replied messages
74
75           Flagged
76               Flagged messages
77
78           -b: Search in the body of the messages
79
80           -a: Search in the entire text of the messages
81
82           -f <from>: Search for messages from <from>
83
84           -t <to>: Search for messages to <to>
85
86           -c <cc>: Search for messages cc'ed to <cc>
87

NOTMUCH

89       search <query...>
90           You can use the full notmuch query language as described in not‐
91           much-search-terms(7).
92
93           The query will only apply on top of the active folder query.
94
95           Example: jump to next unread `:search tag:unread`
96

SEE ALSO

98       aerc(1) aerc-config(5)
99

AUTHORS

101       Originally created by Drew DeVault <sir@cmpwn.com> and maintained by
102       Robin Jarry <robin@jarry.cc> who is assisted by other open source con‐
103       tributors. For more information about aerc development, see
104       https://sr.ht/~rjarry/aerc/.
105
106
107
108                                  2022-11-02                    aerc-search(1)
Impressum