bug-wget
[Top][All Lists]
Advanced

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

Re: [Bug-wget] multiple constant parameters


From: Szépe Viktor
Subject: Re: [Bug-wget] multiple constant parameters
Date: Wed, 04 Jun 2014 13:26:20 +0200
User-agent: Internet Messaging Program (IMP) H5 (6.1.7)

Thank you!

Do you suggest me to create a temp config file with perms 0600?



Idézem/Quoting Giuseppe Scrivano <address@hidden>:

Szépe Viktor <address@hidden> writes:

Good morning!

I'd like to use multiple constant parameters like

wget -U "$UA" --header="Secret-Key: ${HC_SECRETKEY}" etc.

Is there a way to set defaults WITHOUT a wgetrc file?

I resist to put a secret key ibto a file.
I use wget a lot in a shell script. It is not easy to change
(add/remove new parameters) these every time.

You can use -e to set on the command line what you can set in the .wgetrc file.

But I am not sure I understand your problem. You want to use wget from a
shell script but find unsafe to write down your secret key?
Be careful that unless configured properly, the command line is visible
to other users anyway.

Regards,
Giuseppe


Szépe Viktor
--
+36-20-4242498  address@hidden  skype: szepe.viktor
Budapest, XX. kerület







reply via email to

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