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

IMAP

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

MAILDIR

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

NOTMUCH

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