summary refs log tree commit diff
path: root/unscoop.1
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-05-17 23:11:51 -0400
committerJune McEnroe <june@causal.agency>2021-05-17 23:11:51 -0400
commitf0ee5ff6beefb799f32c7314c5a935d6abdcf342 (patch)
tree53dccf1ad714434b5134f93bfeb76f1253b95eb7 /unscoop.1
parentClean up manuals (diff)
downloadlitterbox-f0ee5ff6beefb799f32c7314c5a935d6abdcf342.tar.gz
litterbox-f0ee5ff6beefb799f32c7314c5a935d6abdcf342.zip
Add znc format to unscoop
Diffstat (limited to '')
-rw-r--r--unscoop.116
1 files changed, 15 insertions, 1 deletions
diff --git a/unscoop.1 b/unscoop.1
index 4dbd01e..2a87fc9 100644
--- a/unscoop.1
+++ b/unscoop.1
@@ -1,4 +1,4 @@
-.Dd September 30, 2020
+.Dd May 17, 2021
 .Dt UNSCOOP 1
 .Os
 .
@@ -104,6 +104,20 @@ find Textual -type f -name '*.txt' \e
 xargs -0 unscoop -f textual
 .Ed
 .
+.It Fl f Cm znc
+Import logs from the
+.Xr znc 1
+.Sy log
+module.
+.Bd -literal -offset indent
+find ~/.znc/moddata/log \e
+	~/.znc/users/*/moddata/log \e
+	~/.znc/users/*/networks/*/moddata/log \e
+	-type f -name '*.log' \e
+	-not -path '*/status/*' -print0 |
+xargs -0 unscoop -f znc
+.Ed
+.
 .It Fl v
 Print SQL
 .Sy INSERT