浏览代码

Add README

master
JustAnotherArchivist 3 年前
父节点
当前提交
6d62fe9f24
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. +7
    -0
      README.md

+ 7
- 0
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

正在加载...
取消
保存