View Single Post
Old Dec 7th, 2005, 11:59 AM   #7
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,473
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
You can use a single line of Perl for this:

(You will need to get the WWW module if you don't have it)
perl -MCPAN -e 'install Bundle::LWP'

This one line of Perl code will get the latest Symantec anti-virus update. You may want to script this out more to be more flexible with the filename, as the name itself will change on Symantec's site (Ususally, the date part is what you will want to change.)
perl -MLWP::Simple -e "getprint 'http://definitions.symantec.com/defs/20051206-009-i32.exe'" >> update.exe
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is online now   Reply With Quote