wget and wget2 command-line options

Already used options in v1

  • --adjust-extension

  • --convert-links

  • --domains=${DOMAINS}

  • --level=${DEPTH}

  • --load-cookies=${COOKIES_FILEPATH}

  • --no-host-directories

  • --no-parent

  • --no-remove-listing

  • --page-requisites

  • --random-wait

  • --recursive

  • --save-cookies=${COOKIES_FILEPATH}

  • --timestamping

  • --user-agent=Mozilla

  • --wait=${WAIT}

Useful yet unused v1 options

  • --base=${BASE_URL}

  • --cut-dirs=${N}

Differences between v1 and v2

Option

v1

v2

--bind-interface

NA

X

--cache

NA

X

--check-certificate

NA

X

--check-hostname

NA

X

--chunk-size

NA

X

--ciphers

X

NA

--clobber

NA

X

--cookies

NA

X

--cookies-suffix

NA

X

--cut-file-get-vars

NA

X

--cut-url-get-vars

NA

X

--default-http-port

NA

X

--default-https-port

NA

X

--directories

NA

X

--dns-cache

NA

X

--dns-cache-preload

NA

X

--download-attr

NA

X

Todo

Investigate following v2 options:

  • --download-attr