From ba02bab54366ef4a90eb9405e4d64a9e33c3fd82 Mon Sep 17 00:00:00 2001 From: Konstantin Ryabitsev Date: Mon, 21 Dec 2020 13:48:51 -0500 Subject: Add -f to "b4 mbox" to filter dupes When saving to a maildir, add option to filter out dupes. Note, that this requires going through the entire maildir to collect message-ids, so it's not going to be a great experience on large maildirs. Signed-off-by: Konstantin Ryabitsev --- man/b4.5 | 5 ++++- man/b4.5.rst | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'man') diff --git a/man/b4.5 b/man/b4.5 index 350c363..496525d 100644 --- a/man/b4.5 +++ b/man/b4.5 @@ -102,6 +102,9 @@ Instead of grabbing a thread from lore, process this mbox file .TP .B \-C\fP,\fB \-\-no\-cache Do not use local cache +.TP +.B \-f\fP,\fB \-\-filter\-dupes +When adding messages to existing maildir, filter out duplicates .UNINDENT .UNINDENT .sp @@ -341,7 +344,7 @@ Default configuration, with explanations: .ft C [b4] # Where to look up threads by message id - midmask = https://lore.kernel.org/r/%s\(aq + midmask = https://lore.kernel.org/r/%s # # When recording Link: trailers, use this mask linkmask = https://lore.kernel.org/r/%s diff --git a/man/b4.5.rst b/man/b4.5.rst index e21ed71..ee05675 100644 --- a/man/b4.5.rst +++ b/man/b4.5.rst @@ -63,6 +63,7 @@ optional arguments: -m LOCALMBOX, --use-local-mbox LOCALMBOX Instead of grabbing a thread from lore, process this mbox file -C, --no-cache Do not use local cache + -f, --filter-dupes When adding messages to existing maildir, filter out duplicates *Example*: b4 mbox 20200313231252.64999-1-keescook@chromium.org -- cgit v1.2.3