Bläddra i källkod

Add README

master
JustAnotherArchivist 3 år sedan
förälder
incheckning
6d62fe9f24
1 ändrade filer med 7 tillägg och 0 borttagningar
  1. +7
    -0
      README.md

+ 7
- 0
README.md Visa fil

@@ -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

Laddar…
Avbryt
Spara