Script to download latest from Julians Site

Lance Haig lhaig at haigmail.com
Wed May 17 08:22:37 IST 2006


Dhawal,

Thanks for the help.

I will see if I can create something similar for the clam install.

But thanks a million for the start :-)

Lance

Dhawal Doshy wrote:
> 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