From cc3d34550d5909b520658cb402f321cdd8f317f0 Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Wed, 4 Dec 2024 10:57:26 -0800 Subject: [PATCH] add instructions on how to properly batch add messages.. --- addinfo.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/addinfo.sh b/addinfo.sh index b28c952..baa1d29 100644 --- a/addinfo.sh +++ b/addinfo.sh @@ -32,6 +32,11 @@ set -e # uncompress snapshot.complete.idx.xz to both snapshot.complete.idx and # snapshot.idx, and then run "sh addinfo.sh -c YYYYMMDD" with the oldest # known snapshot. +# +# $ xzcat snapshot.idx.xz | awk '{ print $5 }' | sort -u +# $ unxz < snapshot.complete.idx.xz > snapshot.complete.idx +# $ unxz < snapshot.complete.idx.xz > snapshot.idx + SNAPDIR=$(dirname $0) MAILDIR="$SNAPDIR"/mail