Hrvoje Niksic wrote:
Mauro Tortonesi <[EMAIL PROTECTED]> writes:

That seems to break the principle of least surprise as well.  If such
an option is specified, maybe Wget should simply refuse to accept more
than a single URL.

what are you exactly suggesting to do? to keep the current behavior
of -O allowing only single downloads?


Huh?  -O doesn't currently allow only single downloads -- multiple
downloads are appended to the same output file.

let me rephrase. are you suggesting to modify the current behavior of to of -O to allow only single downloads? if you think the current behavior is fine, we should probably at least document that the -k, -N, -p options won't work with -O and exit printing an error message in case they are used.

I'm suggesting that we should include an option named --save-to
(perhaps shortened to -s) that allows specifying an output file
independent of what is in the URL.  In that case we might want to
disallow multiple URLs, or multiple URLs could save to <file>.1,
<file>.2, etc.

good idea.

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

Mauro Tortonesi                          http://www.tortonesi.com

University of Ferrara - Dept. of Eng.    http://www.ing.unife.it
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