![Forrest logo](/images/logo.png)
notmuch:tldr:bf445
notmuch: Add a tag for all messages matching a search term.
$ notmuch tag +${custom_tag} "${search_term}"
try on your machine
This command is using the Notmuch command-line email client to tag a specific email or set of emails with a custom tag.
Here is a breakdown of the command and its components:
notmuch
: It is the command to interact with the Notmuch email client.tag
: It is the action that will be performed on the email(s), which is tagging.+${custom_tag}
: It represents the custom tag that will be added to the email(s). The+
sign indicates that it's an addition to the tags."${search_term}"
: It is the search term or query that identifies the email(s) to be tagged. It can be an email address, a subject line, a keyword, a date range, or any other criteria that Notmuch understands.
Overall, this command will search for email(s) that match the provided search_term
and add the custom_tag
to them.
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.