Differentiated exit statuses [wget + dowbloading AV signature files]

2007-09-22 Thread Micah Cowan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 (Not Cc'ing Gerard, as I'm not sure he wants to be included in this tangent.) Tony Lewis wrote: >> Unfortunately, at least as far as I can tell, wget does not issue an >> exit code if it has downloaded a newer file. > > Better exit codes is on the

RE: wget + dowbloading AV signature files

2007-09-22 Thread Tony Lewis
Gerard Seibert wrote: > Is it possible for wget to compare the file named "AV.hdb' > located in one directory, and if it is older than the AV.hdb.gz file > located on the remote server, to download the "AV.hdb.gz" file to the > temporary directory? No, you can only get wget to compare a file of t

wget + dowbloading AV signature files

2007-09-22 Thread Gerard Seibert
I am not sure if this is even possible; however, I thought I would ask anyway. Using "wget 1.10.2" on a FreeBSD-6.2 system. I am working on a script that downloads AV signature files, unzips them if necessary and then tests and installs them. Presently, I am using the "-N" flag so as to only downl