bug-wget
[Top][All Lists]
Advanced

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

Re: [Bug-wget] How to disable reading or settings in .wgetrc?


From: Avinash Sonawane
Subject: Re: [Bug-wget] How to disable reading or settings in .wgetrc?
Date: Fri, 2 Jun 2017 20:32:01 +0530

On Fri, Jun 2, 2017 at 1:17 PM, Tim Rühsen <address@hidden> wrote:

> 3. Tell wget not to read a config file at all with --no-config.

Thanks! Didn't know that!

But it seems this is specific to --config only and not for other
similar options.

For example,
I have `logfile = wget.log` in my .wgetrc along with other commands.
And now I want to override this specific .wgetrc configuration and
would like wget to show log on terminal (default behavior). How do I
do that?

1. There is no `--no-output-file` to achieve this.

2. --output-file="" makes wget exit without downloading the document
and spitting out an error about there being no such file or directory.

Of course, as you suggested I can create an another rc file for this
specific use case containing all of .wgetrc but this specific command.
But then there as other similar options as well and so this doesn't
look scalable.

May be we should accommodate 1. or 2. or may be both?

-- 
Avinash Sonawane (rootKea)
PICT, Pune
https://rootkea.wordpress.com



reply via email to

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