Public bug reported:
Binary package hint: wget
>From the man page:
Use of -O is not intended to mean simply "use the name file instead
of the one in the URL;" rather, it is analogous to shell redirection: wget -O
file http://foo
is intended to work like wget -O - http://foo > file; file will be
truncated immediately, and all downloaded content will be written there.
For this reason, -N (for timestamp-checking) is not supported in
combination with -O: since file is always newly created, it will always have a
very new timestamp.
A warning will be issued if this combination is used.
However, this does not make sense if you are only downloading one url
(the simple sense), and want to specify the filename, such as if
downloading a url like http://example.com?page=1 to file page1.html.
** Affects: wget (Ubuntu)
Importance: Undecided
Status: New
--
wget -N -O should work if only retrieving one file
https://bugs.launchpad.net/bugs/363170
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs