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