gefvert.org

Common wget Parameters

2019-07-31

Argument Description
 
Requests
--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)
 
Authentication/TLS
--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
 
Output
-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
   
Recursion
-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