On Monday 08 August 2005 11:29 am, Hrvoje Niksic wrote:
> Jeroen Demeyer <[EMAIL PROTECTED]> writes:
> > I am a big fan of wget, but I discovered a minor annoyance (not sure
> > if it even is a bug):
> >
> > When downloading multiple files with wget to a single output
> > (e.g. wget -Oout http://file1 http://file2 http://file3), the
> > timestamp of the resulting file becomes the timestamp of the *last*
> > file downloaded.
> >
> > I think it would make more sense if the timestamp would be the
> > timestamp of the most recent file downloaded.
>
> It probably doesn't makes sense to set *any* explicit timestamp on
> file created with -O from multiple URLs.  Current behavior is merely a
> side-effect of the implementation.  But just removing the code that
> sets the time-stamp would break the behavior for people who use -O
> with single URL.
>
> Changing the current behavior would require complexifying that part of
> the code; I'm not sure that anything would be gained by such a change.
> Do you have a use case that breaks on current behavior that would be
> fixed by introducing the change?

i agree with hrvoje. but this is just a side-effect of the real problem: the 
semantics of -O with a multiple files download is not well defined. see:

http://wget-bugs.ferrara.linux.it/issue1

before the release of wget 2.0, i would like to fix this problem and come up 
with a well-defined series of semantics for the -O option when downloading 
multiple files.

-- 
Aequam memento rebus in arduis servare mentem...

Mauro Tortonesi                          http://www.tortonesi.com

University of Ferrara - Dept. of Eng.    http://www.ing.unife.it
Institute for Human & Machine Cognition  http://www.ihmc.us
GNU Wget - HTTP/FTP file retrieval tool  http://www.gnu.org/software/wget
Deep Space 6 - IPv6 for Linux            http://www.deepspace6.net
Ferrara Linux User Group                 http://www.ferrara.linux.it

Reply via email to