]> git.notmuchmail.org Git - notmuch/blob - notmuch-part.1
67c4b5ed3c8915db40eb180147038beaa9f489d8
[notmuch] / notmuch-part.1
1 .TH NOTMUCH-PART 1 2011-12-04 "Notmuch 0.10.2"
2 .SH NAME
3 notmuch-part \- Output a single part of a multipart MIME message.
4 .SH SYNOPSIS
5
6 .B notmuch part
7 .BI "\-\-part=" "<part-number>"
8 .RI < search-terms >
9
10 .SH DESCRIPTION
11
12 The
13 .B part
14 command can used to output a single part of a multipart MIME message.
15
16 A single decoded MIME part, with no encoding or framing, is output to
17 stdout. The search terms must match only a single message, otherwise
18 this command will fail.
19
20 The part number should match the part "id" field output by the
21 "\-\-format=json" option of "notmuch show". If the message specified by
22 the search terms does not include a part with the specified "id" there
23 will be no output.
24
25 See the
26 .B "SEARCH SYNTAX"
27 section below for details of the supported syntax for <search-terms>.
28 .RE