Parent Directory | Revision Log
download mailman archives (txt.gz) from web, and convert then to mbox format
1 | #!/bin/sh |
2 | |
3 | if [ -z "$1" ] ; then |
4 | echo "usage: $0 [URL to mailman list]" |
5 | exit 1 |
6 | fi |
7 | |
8 | url=$1 |
9 | |
10 | wget="-N -nd -nH" |
11 | |
12 | wget $wget $url |
13 | |
14 | echo -n > mbox |
15 | |
16 | grep txt.gz index.html | cut -d\" -f2 | while read file ; do |
17 | echo "downloading $url/$file" |
18 | wget $wget "$url/$file" |
19 | zcat $file >> mbox |
20 | done |
Name | Value |
---|---|
svn:executable | * |
ViewVC Help | |
Powered by ViewVC 1.1.26 |