From 43f29ee461b36b6592fc9501d973fe96acdb285f Mon Sep 17 00:00:00 2001 From: Sadeed Date: Mon, 19 Oct 2020 23:17:44 +0500 Subject: [PATCH] notmuch: add page (#4745) --- pages/common/notmuch.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pages/common/notmuch.md diff --git a/pages/common/notmuch.md b/pages/common/notmuch.md new file mode 100644 index 0000000000..40d4c60418 --- /dev/null +++ b/pages/common/notmuch.md @@ -0,0 +1,32 @@ +# notmuch + +> Command-line based program for indexing, searching, reading, and tagging large collections of email messages. +> More Information: . + +- Configure for first use: + +`notmuch setup` + +- Add a tag for all messages matching a search term: + +`notmuch tag +{{custom_tag}} "{{search_term}}"` + +- Remove a tag for all messages matching a search term: + +`notmuch tag -{{custom_tag}} "{{search_term}}"` + +- Count messages matching the given search term: + +`notmuch count --output={{messages|threads}} "{{search_term}}"` + +- Search for messages matching the given search term: + +`notmuch search --format={{json|text}} --output={{summary|threads|messages|files|tags}} "{{search_term}}"` + +- Limit the number of search results to X: + +`notmuch search --format={{json|text}} --output={{summary|threads|messages|files|tags}} --limit={{X}} "{{search_term}}"` + +- Create a reply template for a set of messages: + +`notmuch reply --format={{default|headers-only}} --reply-to={{sender|all}} "{{search_term}}"`