bug-wget
[Top][All Lists]
Advanced

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

Re: Mention multiple -O OK


From: Tim Rühsen
Subject: Re: Mention multiple -O OK
Date: Fri, 17 Feb 2023 13:33:08 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0

On 14.02.23 02:54, Dan Jacobson wrote:
On (info "(wget) Download Options") and the man page too,
mention that one can use multiple -O's in the same command:
$ wget -O c emample.com -O n example.net ...
thus saving tons of DNS queries!


If you want to download several files/pages in one command line, like in
  wget URL1 URL2 ...
and the domain names are the same, these files are fetched from a single connection (yes, also only 1 DNS query is done), if the server allows it.

It is not possible to control the stored file names with multiple -O options (missing feature).

Regards, Tim

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

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