summary refs log tree commit diff
path: root/unscoop.1
diff options
context:
space:
mode:
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