X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=notmuch.1;h=bba479e1fc0b2de1715839484546c671b4091a59;hb=5964a760a5d26f94ea1c262a25f80725877e3445;hp=10ed32edc1c379699a590445075da72e0c3c46d9;hpb=8bb5b6201ec2cb890655fee6ef7e540f401a4c7e;p=notmuch diff --git a/notmuch.1 b/notmuch.1 index 10ed32ed..bba479e1 100644 --- a/notmuch.1 +++ b/notmuch.1 @@ -454,7 +454,7 @@ section below for details of the supported syntax for . The .BR dump " and " restore commands can be used to create a textual dump of email tags for backup -purposes, and to restore from that dump +purposes, and to restore from that dump. .RS 4 .TP 4 @@ -480,10 +480,12 @@ section below for details of the supported syntax for . .RE .TP -.BR restore " " +.BR restore " [--accumulate] []" Restores the tags from the given file (see -.BR "notmuch dump" "." +.BR "notmuch dump" ")." + +The input is read from the given filename, if any, or from stdin. Note: The dump file format is specifically chosen to be compatible with the format of files produced by sup-dump. @@ -491,6 +493,10 @@ So if you've previously been using sup for mail, then the .B "notmuch restore" command provides you a way to import all of your tags (or labels as sup calls them). + +The --accumulate switch causes the union of the existing and new tags to be +applied, instead of replacing each message's tags as they are read in from the +dump file. .RE The