bash wget - ghdrako/doc_snipets GitHub Wiki
wget -O ./testssl.sh.zip https://github.com/drwetter/testssl.sh/archive/3.0.zip
wget --content-disposition https://github.com/mirror/wget/archive/v1.20.tar.gz
curl -LO https://github.com/mirror/wget/archive/v1.20.tar.gz
echo "Downloading file..."
wget -q --show-progress https://example.com/large_file.zip
echo "Download complete."
Types of Files
wget -A gif,jpg # download only the files ending with ‘gif’ or ‘jpg’
wget -A "zelazny*196[0-9]*"
wget -R mpg,mpeg,au # download a whole page except mpg,mpeg,au
wget -R "bjork*"
wget -A "*zelazny*" -R .ps
wget -r https://www.gnu.org/ -o gnulog # Create a five levels deep mirror image of the GNU web site
wget --convert-links -r https://www.gnu.org/ -o gnulog # The same as the above, but convert the links in the downloaded files to point to local files, so you can view the documents off-line
wget -r -l1 --no-parent -A.gif http://www.example.com/dir/ # download all the GIFs from a directory on an HTTP server