OptionsOn wget itself
-V--version
Display the version of Wget and exit
-b--background
Go to background after startup
-e--execute=COMMAND
Execute a `.wgetrc'-style command
-o--output-file=FILE
Log messages to FILE
-a--append-output=FILE
Append messages to FILE
-q--quiet
Quiet (no output)
-v--verbose
Be verbose (this is the default)
-nv--no-verbose
Turn off verboseness, without being quiet
--report-speed=TYPE
Output bandwidth as TYPE. TYPE can be bits
-i--input-file=FILE
Download URLs found in local or external FILE
-F--force-html
Treat input file as HTML
-B--base=URL
Resolves HTML input-file links (-i -F) relative to URL
--config=FILE
Specify config file to use
--no-config
Do not read any config file
--rejected-log=FILE
Log reasons for URL rejection to FILE
-t--tries=NUMBER
Set number of retries to NUMBER (0 unlimits)
--retry-connrefused
Retry even if connection is refused
--retry-on-http-error
Comma-separated list of HTTP errors to retry
-O--output-document=FILE
Write documents to FILE
-nc--no-clobber
Skip downloads that would download to existing files (overwriting them)
--no-netrc
Don't try to obtain credentials from .netrc
-c--continue
Resume getting a partially-downloaded file
--start-pos=OFFSET
Start downloading from zero-based position OFFSET
--progress=TYPE
Select progress gauge type
--show-progress
Display the progress bar in any verbosity mode
-N--timestamping
Don't re-retrieve files unless newer than local
-S--server-response
Print server response
--spider
Don't download anything
-T--timeout=SECONDS
Set all timeout values to SECONDS
--dns-timeout=SECS
Set the DNS lookup timeout to SECS
--connect-timeout=SECS
Set the connect timeout to SECS
--read-timeout=SECS
Set the read timeout to SECS
-w--wait=SECONDS
Wait SECONDS between retrievals
--waitretry=SECONDS
Wait 1..SECONDS between retries of a retrieval
--random-wait
Wait from 0.5*WAIT...1.5*WAIT secs between retrievals
--no-proxy
Explicitly turn off proxy
-Q--quota=NUMBER
Set retrieval quota to NUMBER
--bind-address=ADDRESS
Bind to ADDRESS (hostname or IP) on local host
--limit-rate=RATE
Limit download rate to RATE
--no-dns-cache
Disable caching DNS lookups
--restrict-file-names=OS
Restrict chars in file names to ones OS allows
--ignore-case
Ignore case when matching files/directories
-4--inet4-only
Connect only to IPv4 addresses
-6--inet6-only
Connect only to IPv6 addresses
--user=USER
Set both ftp and http user to USER
--password=PASS
Set both ftp and http password to PASS
--ask-password
Prompt for passwords
--no-iri
Turn off IRI support
--local-encoding=ENC
Use ENC as the local encoding for IRIs
--remote-encoding=ENC
Use ENC as the default remote encoding
--unlink
Remove file before clobber
--xattr
Turn on storage of metadata in extended file attributes
-nd--no-directories
Don't create directories
-x--force-directories
Force creation of directories
-nH--no-host-directories
Don't create host directories
--protocol-directories
Use protocol name in directories
-P--directory-prefix=PREFIX
Save files to PREFIX/
--cut-dirs=NUMBER
Ignore NUMBER remote directory components
--http-user=USER
Set http user to USER
--http-password=PASS
Set http password to PASS
--no-cache
Disallow server-cached data
-E--adjust-extension
Save HTML/CSS documents with proper extensions
--ignore-length
Ignore 'Content-Length' header field
--header=STRING
Insert STRING among the headers
--compression=TYPE
Choose compression, one of auto, gzip and none. (default: none)
--max-redirect
Maximum redirections allowed per page
--proxy-user=USER
Set USER as proxy username
--proxy-password=PASS
Set PASS as proxy password
--referer=URL
Include 'Referer: URL' header in HTTP request
--save-headers
Save the HTTP headers to file
-U--user-agent=AGENT
Identify as AGENT instead of Wget/VERSION
--no-http-keep-alive
Disable HTTP keep-alive (persistent connections)
--no-cookies
Don't use cookies
--load-cookies=FILE
Load cookies from FILE before session
--save-cookies=FILE
Save cookies to FILE after session
--keep-session-cookies
Load and save session (non-permanent) cookies
--post-data=STRING
Use the POST method; send STRING as the data
--post-file=FILE
Use the POST method; send contents of FILE
--method=HTTPMethod
Use method "HTTPMethod" in the request
--body-data=STRING
Send STRING as data. --method MUST be set
--body-file=FILE
Send contents of FILE. --method MUST be set
--content-on-error
Output the received content on server errors
--secure-protocol=PR
Choose secure protocol, one of auto, SSLv2,
--https-only
Only follow secure HTTPS links
--no-check-certificate
Don't validate the server's certificate
--certificate=FILE
Client certificate file
--certificate-type=TYPE
Client certificate type, PEM or DER
--private-key=FILE
Private key file
--private-key-type=TYPE
Private key type, PEM or DER
--ca-certificate=FILE
File with the bundle of CAs
--ca-directory=DIR
Directory where hash list of CAs is stored
--crl-file=FILE
File with bundle of CRLs
--ciphers=STR
Set the priority string (GnuTLS) or cipher list string (OpenSSL) directly
-r--recursive
Specify recursive download
-l--level=NUMBER
Maximum recursion depth (inf or 0 for infinite)
--delete-after
Delete files locally after downloading them
-k--convert-links
Make links in downloaded HTML or CSS point to local files
-K--backup-converted
Before converting file X, back up as X.orig
-m--mirror
Shortcut for -N -r -l inf --no-remove-listing
-p--page-requisites
Get all images, etc. needed to display HTML page
-A--accept=LIST
Comma-separated list of accepted extensions
-R--reject=LIST
Comma-separated list of rejected extensions
--accept-regex=REGEX
Regex matching accepted URLs
--reject-regex=REGEX
Regex matching rejected URLs
--regex-type=TYPE
Regex type (posix)
-D--domains=LIST
Comma-separated list of accepted domains
--exclude-domains=LIST
Comma-separated list of rejected domains
--follow-ftp
Follow FTP links from HTML documents
--follow-tags=LIST
Comma-separated list of followed HTML tags
--ignore-tags=LIST
Comma-separated list of ignored HTML tags
-H--span-hosts
Go to foreign hosts when recursive
-L--relative
Follow relative links only
-I--include-directories=LIST
List of allowed directories
-X--exclude-directories=LIST
List of excluded directories
-np--no-parent
Don't ascend to the parent directory