--- trunk/mailman2mbox.sh 2007/07/26 17:17:54 41 +++ trunk/mailman2mbox.sh 2008/05/14 16:22:58 78 @@ -13,10 +13,14 @@ exit 1 fi -wget="-N -nd -nH" +wget="-nd -nH" -mkdir /tmp/$name || exit -cd /tmp/$name +dir=/tmp/$name + +mkdir $dir || exit +cd $dir + +echo "*** download $url to $dir" wget -O index.html $wget $url @@ -24,7 +28,7 @@ grep \.txt index.html | cut -d\" -f2 | while read file ; do echo "downloading $url/$file" - wget $wget "$url/$file" + wget -N $wget "$url/$file" if echo $file | grep '\.gz$' >/dev/null ; then cat=zcat else