Script to download latest from Julians Site
Dhawal Doshy
dhawal at netmagicsolutions.com
Tue May 16 13:31:35 IST 2006
Lance Haig wrote:
> Has anyone written a script that you can use to download the latest
> versions of programs from Julian's site?
#!/bin/sh
# Uncomment next line for tar version
# wget http://www.sng.ecs.soton.ac.uk/mailscanner/files/4/tar/
wget http://www.sng.ecs.soton.ac.uk/mailscanner/files/4/rpm/
wget http://www.sng.ecs.soton.ac.uk/mailscanner/files/4/rpm/`cat
index.html | awk -F "href=\"" '{print $2}' | awk -F "\"" '{print $1}' |
grep -v sig$ | grep ^MailScanner | sort | tail -1`
rm -f index.html
replace awk with gawk for solaris..
- dhawal
> I was just wondering as I always download them locally first then have
> to upload and if I am on dial up it takes forever.
>
> if this has not been done I want to try to write one.
>
> Thanks
>
> Lance
More information about the MailScanner
mailing list