Greetings:
        In the case that wget gets passed the --timestamps option, and the
local file is no newer than the remote file, it exits with an exit code of
zero.  It might be more useful to have a non-zero exit code so that I can
test whether it actually downloaded a file or not.  If it did then I can
take action in a script to update software, etc.  If no file was downloaded,
I can just terminate my script until the next time I check.

Mario Stargard
UNIX Systems Administrator, DIHRS
"Computers in the future may weigh no more than 1.5 tons."
     - Popular Mechanics, 1949 


Reply via email to