> there'll be more mutants soon. Gotta get a cron job set up to download the
> updates from Sophos hourly I think ;)
Run this from cron:
[root at cerberus bin]# cat get-sav-updates.sh
#!/bin/sh
cd /var/spool/sophos-updates
ls -l *.ide > before.list
# Get the latest list of IDE files
rm -f list.txt
wget -q http://www.sophos.com/downloads/ide/list.txt
# Get any new or updated IDEs in the list
if [ -f list.txt ] ; then
wget -q -c -N `cat list.txt`
fi
# delete any IDE files older than 60 days
rm -f `find . -name \*.ide -mtime +60`
# Make a nice diff as a summary of the job
ls -l *.ide > after.list
diff before.list after.list
rm -f before.list after.list list.txt
The output shows you what was downloaded and deleted.
Later,
Kenn
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!