]> git.cworth.org Git - notmuch-wiki/blobdiff - manpages/notmuch-dump-1.mdwn
cosmic
[notmuch-wiki] / manpages / notmuch-dump-1.mdwn
index 05b9caf172798820c71f0cdecb9c32b5bc1979e8..7c6e86aa5de0d58bb9612b8d94e4f52ce10f21bc 100644 (file)
                      characters.  Note  also that tags with spaces will not be
                      correctly restored with this format.
 
                      characters.  Note  also that tags with spaces will not be
                      correctly restored with this format.
 
+          <b>--include=(config|properties|tags)</b>
+
+          Control what kind of metadata is included in the output.
+              <b>config</b>
+                 Output configuration data stored in the database.  Each  line
+                 starts  with  &quot;#@  &quot;, followed by a space separated key-value
+                 pair.  Both key and value are hex encoded if needed.
+
+              <b>properties</b>
+                 Output per-message (key,value) metadata.   Each  line  starts
+                 with  &quot;#=  &quot;, followed by a message id, and a space separated
+                 list of key=value pairs.  pair.  Ids, keys and values are hex
+                 encoded if needed.
+
+              <b>tags</b>
+                 Output  per-message boolean metadata, namely tags. See <u>format</u>
+                 above for description of the output.
+
+              The default is to include all  available  types  of  data.   The
+              option can be specified multiple times to select some subset. As
+              of version 2 of the dump format, there is a header line  of  the
+              following form
+
+                #notmuch-dump &lt;<u>format</u>&gt;:&lt;<u>version</u>&gt; &lt;<u>included</u>&gt;
+
+              where &lt;<u>included</u>&gt; is a comma separated list of the above options.
+
           <b>--output=&lt;filename&gt;</b>
                  Write output to given file instead of stdout.
 </pre>
           <b>--output=&lt;filename&gt;</b>
                  Write output to given file instead of stdout.
 </pre>
 <h2>SEE ALSO</h2>
 <pre>
        <a href='../notmuch-1/'>notmuch</a>(1), <a href='../notmuch-config-1/'>notmuch-config</a>(1), <a href='../notmuch-count-1/'>notmuch-count</a>(1), <a href='../notmuch-hooks-5/'>notmuch-hooks</a>(5), <a href='../notmuch-insert-1/'>not‐</a>
 <h2>SEE ALSO</h2>
 <pre>
        <a href='../notmuch-1/'>notmuch</a>(1), <a href='../notmuch-config-1/'>notmuch-config</a>(1), <a href='../notmuch-count-1/'>notmuch-count</a>(1), <a href='../notmuch-hooks-5/'>notmuch-hooks</a>(5), <a href='../notmuch-insert-1/'>not‐</a>
-       <a href='../notmuch-insert-1/'>much-insert</a>(1),  <a href='../notmuch-new-1/'>notmuch-new</a>(1),  <a href='../notmuch-reply-1/'>notmuch-reply</a>(1), <a href='../notmuch-restore-1/'>notmuch-restore</a>(1),
+       <a href='../notmuch-insert-1/'>much-insert</a>(1), <a href='../notmuch-new-1/'>notmuch-new</a>(1),  <a href='../notmuch-reply-1/'>notmuch-reply</a>(1),  <a href='../notmuch-restore-1/'>notmuch-restore</a>(1),
        <a href='../notmuch-search-1/'>notmuch-search</a>(1),   <a href='../notmuch-search-terms-7/'>notmuch-search-terms</a>(7),   <a href='../notmuch-show-1/'>notmuch-show</a>(1),   <a href='../notmuch-tag-1/'>not‐</a>
        <a href='../notmuch-tag-1/'>much-tag</a>(1)
 </pre>
        <a href='../notmuch-search-1/'>notmuch-search</a>(1),   <a href='../notmuch-search-terms-7/'>notmuch-search-terms</a>(7),   <a href='../notmuch-show-1/'>notmuch-show</a>(1),   <a href='../notmuch-tag-1/'>not‐</a>
        <a href='../notmuch-tag-1/'>much-tag</a>(1)
 </pre>
        2009-2016, Carl Worth and many others
 </pre>
 
        2009-2016, Carl Worth and many others
 </pre>
 
-<h2>0.22</h2>
+<h2>0.23</h2>