Common wget Parameters

Wednesday, 31 July 2019 - 1 minute to read

Argument Description
--header=x Insert custom header
--method=x Use custom HTTP method
--post-data=STR Set POST data from string
--post-file=FILE Set POST data from file
--referer=x Use custom referer
-t n Number of retries (0=unlimited)
--http-user=x Set HTTP user
--http-password=x Set HTTP password
--no-check-certificate Do not verify TLS certificate
--certificate=file.pem Use client certificate
--private-key=file.pem Use client private key
-c Continue (add to existing file)
-nc No-clobber (don't overwrite anything)
-nH Don't create host directories
-N Only retrieve if newer than existing
-o file Output file name
-S Display server response
--save-headers Save headers to file
-k Convert links to local
-l n Maximum recursion level
-L Follow relative links only
-np No-parent (don't ascend into parent directory)
-p Page requisites
-r Recursive

Add a comment

  to leave a comment. It's quick and painless.