Skip to main content

LARTC archives

I needed to download LARTC's mailing list archives to check some things while on my way home by train. Here's the script I used to turn them into a single mbox file:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
BASE=http://mailman.ds9a.nl/pipermail/lartc/

for i in `seq 2002 2006`; do
for j in `seq 1 4`; do
FINAL="$i""q""$j.txt.gz"
wget "$BASE""$FINAL"
done
done

echo "Done downloading"

for i in `ls *.gz`; do
gunzip $i
NEW=${i%.gz}
formail -ds > "lartc-2002-2006.mbox"
done

echo "Done formatting archives"

The Zephyrs

Comments

Comments powered by Disqus