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: Tim Ruehsen
Subject: Re: [Bug-wget] multiple constant parameters
Date: Thu, 05 Jun 2014 11:44:12 +0200
User-agent: KMail/4.12.4 (Linux/3.14-1-amd64; KDE/4.13.1; x86_64; ; )

On Thursday 05 June 2014 01:04:12 Ángel González wrote:
> >  $ cat script.sh
> > 
> > #!/bin/sh
> > echo http-user=user
> > echo http-password=$(pwgen 43 1)
> 
> And then we can run:
> WGETRC=<(./script.sh) wget -d http://www.secretsite.net
> 
> which would provide a different password for accesing the site on each run.

Very good solution. I didn't even know this is possible with the shell.

Tim




reply via email to

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