From 6d62fe9f24b2d083fe4de0b32008175e09929667 Mon Sep 17 00:00:00 2001 From: JustAnotherArchivist Date: Sun, 20 Dec 2020 05:16:35 +0000 Subject: [PATCH] Add README --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..1e924cc --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +Script to transform the old EFnet irclogger logs into the new irclog format. You do not want to ever have to use this. Go away while you still can. Nothing good lies this way. + +```bash +for d in *; do echo "$d"; for month in $(ls -1 "${d}"/* | sed 's,^.*/,,; s/-[0-9][0-9],.*$//' | uniq); do echo "$month"; { for f in "${d}/${month}"-*; do python3 efnet-irclogger-convert.py "$f"; done; } > ../out/efnet_${d}/${month}.log; done; done |& tee ../conversion.log +``` + +License: WTFPL