Wget cheatsheet

Shortcuts

Recursive download (current directory)

$ wget -r --no-parent http://firmware.openbsd.org/firmware/7.1/

Recursive download (current directory) and specific file extension

$ wget -r --no-parent -A .tgz 'https://cdn.openbsd.org/pub/OpenBSD/7.5/amd64'

Recursive download (no robots follow)

$ wget -r --no-parent -e robots=off https://ftp.openbsd.org/pub/OpenBSD/songs/

Save to a custom path

$ wget -P "PATH" "DOWNLOAD_URL"