Is there a way to pass the username and password from a file instead of the command line via --user and --password?
Background: I want to run wget via cron and don't want the username/password show up in process view
To use the same credentials for both specify
I'm surprised nobody mentioned the
Then you can add the hostname, username and password all on one line:
Then when you do
When using this from cron make sure you have the right
You can specify multiple hosts in
In many regards curl can be a better choice. Wget became a bit stale over time.
curl's -n switch can be used for this task: http://curl.haxx.se/docs/manpage.html#-n