wget handy commands

Here are some handy wget commands

wget with username and password

In case a url requires simple web auth, one can use the following wget command.

$ wget --user user --password pass http://site.com/

wget – ignore certificate

$ wget --no-check-certificate https://site.com/

wget – download content to a specific file

$ wget http://site.com/ -O outfile

Continue getting a partially-downloaded file

This is useful when you want to finish up a download started by a previous instance of wget, or by another program.

$ wget -c http://site.com/ -O outfile
Share this article: share on Google+ share on facebook share on linkedin tweet this submit to reddit


Click here to write/view comments