[Top][All Lists]
[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: |
Fri, 22 Oct 2010 11:05:02 -0700 |
Micah Cowan wrote:
> Not sure the exit status is the best place to do that, though. Both
> cases really are success cases, and and should be treated as such.
I consider "success" to be "wget downloaded the files on the command line" (and
possibly related files, e.g., --mirror). Even if it didn't download a file
because of the conditions I put on the download, I think that's still a failure
worthy of a status code. There could even be an status code reserved for
"file(s) not downloaded because of user-specified restrictions."
I wouldn't include filtering options (such as --mirror --accept=jpg), but I
would include --timestamping (the topic of this thread) and --no-clobber. (I
realize that might sound like a contradiction, but it makes sense to me. :-)
Tony