bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Bug-wget] execute external command only if download occurs with tim


From: Tony Lewis
Subject: RE: [Bug-wget] execute external command only if download occurs with time stamping
Date: Thu, 21 Oct 2010 10:18:22 -0700

Kamenik, Aleksander wrote:

> So wget -N always retuns 0 on success (tested 1.12 too). Success is both
> downloading a file and not downloading it due to current timestamp.

I think it would be useful for wget to distinguish between these two use cases. 
I would be happy if -N without a download always set the error code to 1, but I 
suppose that might break existing scripts so perhaps a command line option is 
needed. (I sat here trying to come up with a meaningful name for that option, 
but I had no flash of inspiration.)

Tony




reply via email to

[Prev in Thread] Current Thread [Next in Thread]