-V | --version display the version of Wget and exit | help + man |
-h | --help print this help | help + man |
-b | --background go to background after startup | help + man |
-e command | --execute=COMMAND execute a `.wgetrc'-style command | help + man |
-o logfile | --output-file=FILE log messages to FILE | help + man |
-a logfile | --append-output=FILE append messages to FILE | help + man |
-d | --debug print lots of debugging information | help + man |
-q | --quiet quiet (no output) | help + man |
-v | --verbose be verbose (this is the default) | help + man |
-nv, --no-verbose | Turn off verbose without being completely quiet (use -q for that), which means that error messages and basic information still get printed. | help + man + man |
--report-speed TYPE | output bandwidth as TYPE. | help + man |
-i file | --input-file=FILE download URLs found in local or external FILE | help + man |
-F | --force-html treat input file as HTML | help + man |
-B URL | --base=URL resolves HTML input-file links (-i -F) relative to URL | help + man |
--config FILE | Specify the location of a startup file you wish to use instead of the default one(s). | help + man |
--no-config | do not read any config file | help |
--rejected-log FILE | Logs all URL rejections to logfile as comma separated values. | help + man |
-t number | --tries=NUMBER set number of retries to NUMBER (0 unlimits) | help + man |
--retry-connrefused | Consider "connection refused" a transient error and try again. | help + man |
--retry-on-host-error | Consider host errors, such as "Temporary failure in name resolution", as non-fatal, transient errors. | help + man |
--retry-on-http-error ERRORS | comma-separated list of HTTP errors to retry | help |
-O file | --output-document=FILE write documents to FILE | help + man |
-nc, --no-clobber | If a file is downloaded more than once in the same directory, Wget's behavior depends on a few options, including -nc. | help + man + man |
--no-netrc | Do not try to obtain credentials from .netrc file. | help + man |
-c | --continue resume getting a partially-downloaded file | help + man |
--start-pos OFFSET | start downloading from zero-based position OFFSET | help + man |
--progress TYPE | Select the type of the progress indicator you wish to use. | help + man |
--show-progress | Force wget to display the progress bar in any verbosity. | help + man |
-N | --timestamping don't re-retrieve files unless newer than local | help + man |
--no-if-modified-since | don't use conditional if-modified-since get requests in timestamping mode | help + man |
--no-use-server-timestamps | Don't set the local file's timestamp by the one on the server. | help + man |
-S | --server-response print server response | help + man |
--spider | When invoked with this option, Wget will behave as a Web spider, which means that it will not download the pages, just check that they are there. | help + man |
-T seconds | --timeout=SECONDS set all timeout values to SECONDS | help + man |
--dns-timeout SECS | Set the DNS lookup timeout to seconds seconds. | help + man |
--connect-timeout SECS | Set the connect timeout to seconds seconds. | help + man |
--read-timeout SECS | Set the read (and write) timeout to seconds seconds. | help + man |
-w seconds | --wait=SECONDS wait SECONDS between retrievals (applies if more then 1 URL is to be retrieved) | help + man |
--waitretry SECONDS | If you don't want Wget to wait between every retrieval, but only between retries of failed downloads, you can use this option. | help + man |
--random-wait | Some web sites may perform log analysis to identify retrieval programs such as Wget by looking for statistically significant similarities in the time between requests. | help + man |
--no-proxy | Don't use proxies, even if the appropriate _proxy environment variable is defined. | help + man |
-Q quota | --quota=NUMBER set retrieval quota to NUMBER | help + man |
--bind-address ADDRESS | When making client TCP/IP connections, bind to ADDRESS on the local machine. | help + man |
--limit-rate RATE | Limit the download speed to amount bytes per second. | help + man |
--no-dns-cache | Turn off caching of DNS lookups. | help + man |
--restrict-file-names OS | Change which characters found in remote URLs must be escaped during generation of local filenames. | help + man |
--ignore-case | Ignore case when matching files and directories. | help + man |
-4 | --inet4-only connect only to IPv4 addresses | help + man |
-6 | --inet6-only connect only to IPv6 addresses | help + man |
--prefer-family FAMILY | When given a choice of several addresses, connect to the addresses with specified address family first. | help + man |
--user USER | set both ftp and http user to USER | help + man |
--password PASS | Specify the username user and password password for both FTP and HTTP file retrieval. | help + man |
--ask-password | Prompt for a password for each connection established. | help + man |
--use-askpass COMMAND | specify credential handler for requesting username and password. | help + man |
--no-iri | Turn off internationalized URI (IRI) support. | help + man |
--local-encoding ENC | Force Wget to use encoding as the default system encoding. | help + man |
--remote-encoding ENC | Force Wget to use encoding as the default remote server encoding. | help + man |
--unlink | Force Wget to unlink file instead of clobbering existing file. | help + man |
--xattr | Enable use of file system's extended attributes to save the original URL and the Referer HTTP header value if used. | help + man |
-nd, --no-directories | Do not create a hierarchy of directories when retrieving recursively. | help + man + man |
-x | --force-directories force creation of directories | help + man |
-nH, --no-host-directories | Disable generation of host-prefixed directories. | help + man + man |
--protocol-directories | Use the protocol name as a directory component of local file names. | help + man |
-P prefix | --directory-prefix=PREFIX save files to PREFIX/.. | help + man |
--cut-dirs NUMBER | ignore NUMBER remote directory components | help + man |
--http-user USER | set http user to USER | help + man |
--http-password PASS | Specify the username user and password password on an HTTP server. | help + man |
--no-cache | disallow server-cached data | help + man |
--default-page NAME | Use name as the default file name when it isn't known (i.e., for URLs that end in a slash), instead of index.html. | help + man |
-E | --adjust-extension save HTML/CSS documents with proper extensions | help + man |
--ignore-length | Unfortunately, some HTTP servers (CGI programs, to be more precise) send out bogus "Content-Length" headers, which makes Wget go wild, as it thinks not all the document was retrieved. | help + man |
--header STRING | Send header-line along with the rest of the headers in each HTTP request. | help + man |
--max-redirect number | Specifies the maximum number of redirections to follow for a resource. | help + man |
--proxy-user USER | set USER as proxy username | help + man |
--proxy-password PASS | Specify the username user and password password for authentication on a proxy server. | help + man |
--referer URL | include 'Referer: URL' header in HTTP request | help + man |
--save-headers | Save the headers sent by the HTTP server to the file, preceding the actual contents, with an empty line as the separator. | help + man |
-U agent-string | --user-agent=AGENT identify as AGENT instead of Wget/VERSION | help + man |
--no-http-keep-alive | Turn off the "keep-alive" feature for HTTP downloads. | help + man |
--no-cookies | Disable the use of cookies. | help + man |
--load-cookies FILE | Load cookies from file before the first HTTP retrieval. | help + man |
--save-cookies FILE | Save cookies to file before exiting. | help + man |
--keep-session-cookies | When specified, causes --save-cookies to also save session cookies. | help + man |
--post-data STRING | use the POST method; | help + man |
--post-file FILE | Use POST as the method for all HTTP requests and send the specified data in the request body. | help + man |
--method HTTPMethod | For the purpose of RESTful scripting, Wget allows sending of other HTTP Methods without the need to explicitly set them using --header=Header-Line. | help + man |
--body-data STRING | send STRING as data. | help + man |
--body-file FILE | Must be set when additional data needs to be sent to the server along with the Method specified using --method. | help + man |
--content-disposition | If this is set to on, experimental (not fully-functional) support for "Content-Disposition" headers is enabled. | help + man |
--content-on-error | If this is set to on, wget will not skip the content when the server responds with a http status code that indicates error. | help + man |
--auth-no-challenge | If this option is given, Wget will send Basic HTTP authentication information (plaintext username and password) for all requests, just like Wget 1.10.2 and prior did by default. | help + man |
--secure-protocol PR | choose secure protocol, one of auto, SSLv2, SSLv3, TLSv1, TLSv1_1, TLSv1_2, TLSv1_3 and PFS | help + man |
--https-only | When in recursive mode, only HTTPS links are followed. | help + man |
--no-check-certificate | Don't check the server certificate against the available certificate authorities. | help + man |
--certificate FILE | Use the client certificate stored in file. | help + man |
--certificate-type TYPE | Specify the type of the client certificate. | help + man |
--private-key FILE | Read the private key from file. | help + man |
--private-key-type TYPE | Specify the type of the private key. | help + man |
--ca-certificate FILE | Use file as the file with the bundle of certificate authorities ("CA") to verify the peers. | help + man |
--ca-directory DIR | Specifies directory containing CA certificates in PEM format. | help + man |
--crl-file FILE | Specifies a CRL file in file. | help + man |
--pinnedpubkey FILE/HASHES | Public key (PEM/DER) file, or any number of base64 encoded sha256 hashes preceded by 'sha256//' and separated by ';', to verify peer against | help + man |
--random-file FILE | [OpenSSL and LibreSSL only] Use file as the source of random data for seeding the pseudo-random number generator on systems without /dev/urandom. | help + man |
--ciphers STR | Set the priority string (GnuTLS) or cipher list string (OpenSSL) directly. | help + man |
--no-hsts | Wget supports HSTS (HTTP Strict Transport Security, RFC 6797) by default. | help + man |
--hsts-file file | By default, Wget stores its HSTS database in ~/.wget-hsts. | help + man |
--ftp-user USER | set ftp user to USER | help + man |
--ftp-password PASS | Specify the username user and password password on an FTP server. | help + man |
--no-remove-listing | Don't remove the temporary .listing files generated by FTP retrievals. | help + man |
--no-glob | turn off FTP file name globbing | help + man |
--no-passive-ftp | Disable the use of the passive FTP transfer mode. | help + man |
--preserve-permissions | Preserve remote file permissions instead of permissions set by umask. | help + man |
--retr-symlinks | By default, when retrieving FTP directories recursively and a symbolic link is encountered, the symbolic link is traversed and the pointed-to files are retrieved. | help + man |
--ftps-implicit | This option tells Wget to use FTPS implicitly. | help + man |
--ftps-resume-ssl | resume the SSL/TLS session started in the control connection when opening a data connection | help |
--ftps-clear-data-connection | All the data connections will be in plain text. | help + man |
--ftps-fallback-to-ftp | Fall back to FTP if FTPS is not supported by the target server. | help + man |
--warc-file FILENAME | save request/response data to a .warc.gz file | help + man |
--warc-header STRING | Use string into as the warcinfo record. | help + man |
--warc-max-size NUMBER | Set the maximum size of the WARC files to size. | help + man |
--warc-cdx | Write CDX index files. | help + man |
--warc-dedup FILENAME | Do not store records listed in this CDX file. | help + man |
--no-warc-digests | Do not calculate SHA1 digests. | help + man |
--no-warc-keep-log | Do not store the log file in a WARC record. | help + man |
--warc-tempdir DIRECTORY | Specify the location for temporary files created by the WARC writer. | help + man |
-r | --recursive specify recursive download | help + man |
-l depth | --level=NUMBER maximum recursion depth (inf or 0 for infinite) | help + man |
--delete-after | This option tells Wget to delete every single file it downloads, after having done so. | help + man |
-k | --convert-links make links in downloaded HTML or CSS point to local files | help + man |
--convert-file-only | This option converts only the filename part of the URLs, leaving the rest of the URLs untouched. | help + man |
--backups N | Before (over)writing a file, back up an existing file by adding a .1 suffix (_1 on VMS) to the file name. | help + man |
-K | --backup-converted before converting file X, back up as X.orig | help + man |
-m | --mirror shortcut for -N -r -l inf --no-remove-listing | help + man |
-p | --page-requisites get all images, etc. | help + man |
--strict-comments | turn on strict (SGML) handling of HTML comments | help + man |
-A acclist | --accept=LIST comma-separated list of accepted extensions | help + man |
-R rejlist | Specify comma-separated lists of file name suffixes or patterns to accept or reject. | help + man |
--accept-regex REGEX | regex matching accepted URLs | help + man |
--reject-regex REGEX | Specify a regular expression to accept or reject the complete URL. | help + man |
--regex-type TYPE | Specify the regular expression type. | help + man |
-D domain-list | --domains=LIST comma-separated list of accepted domains | help + man |
--exclude-domains LIST | Specify the domains that are not to be followed. | help + man |
--follow-ftp | Follow FTP links from HTML documents. | help + man |
--follow-tags LIST | Wget has an internal table of HTML tag / attribute pairs that it considers when looking for linked documents during a recursive retrieval. | help + man |
--ignore-tags LIST | This is the opposite of the --follow-tags option. | help + man |
-H | --span-hosts go to foreign hosts when recursive | help + man |
-L | --relative follow relative links only | help + man |
-I list | --include-directories=LIST list of allowed directories | help + man |
--trust-server-names | If this is set, on a redirect, the local file name will be based on the redirection URL. | help + man |
-X list | --exclude-directories=LIST list of excluded directories | help + man |
-np, --no-parent | Do not ever ascend to the parent directory when retrieving recursively. | help + man + man |
--version | Display the version of Wget. (in the manual page but not in --help) | man |
--help | Print a help message describing all of Wget's command-line options. (in the manual page but not in --help) | man |
--background | Go to background immediately after startup. (in the manual page but not in --help) | man |
--execute command | Execute command as if it were a part of .wgetrc. (in the manual page but not in --help) | man |
--output-file logfile | Log all messages to logfile. (in the manual page but not in --help) | man |
--append-output logfile | Append to logfile. (in the manual page but not in --help) | man |
--debug | Turn on debug output, meaning various information important to the developers of Wget if it does not work properly. (in the manual page but not in --help) | man |
--quiet | Turn off Wget's output. (in the manual page but not in --help) | man |
--verbose | Turn on verbose output, with all the available data. (in the manual page but not in --help) | man |
--input-file file | Read URLs from a local or external file. (in the manual page but not in --help) | man |
--input-metalink file | Downloads files covered in local Metalink file. (in the manual page but not in --help) | man |
--keep-badhash | Keeps downloaded Metalink's files with a bad hash. (in the manual page but not in --help) | man |
--metalink-over-http | Issues HTTP HEAD request instead of GET and extracts Metalink metadata from response headers. (in the manual page but not in --help) | man |
--metalink-index number | Set the Metalink application/metalink4+xml metaurl ordinal NUMBER. (in the manual page but not in --help) | man |
--preferred-location | Set preferred location for Metalink resources. (in the manual page but not in --help) | man |
--force-html | When input is read from a file, force it to be treated as an HTML file. (in the manual page but not in --help) | man |
--base URL | Resolves relative links using URL as the point of reference, when reading links from an HTML file specified via the -i/--input-file option (together with --force-html, or when the input file was… (in the manual page but not in --help) | man |
--bind-dns-address ADDRESS | [libcares only] This address overrides the route for DNS requests. (in the manual page but not in --help) | man |
--dns-servers ADDRESSES | [libcares only] The given address(es) override the standard nameserver addresses, e.g. as configured in /etc/resolv.conf. (in the manual page but not in --help) | man |
--tries number | Set number of tries to number. (in the manual page but not in --help) | man |
--output-document file | The documents will not be written to the appropriate files, but all will be concatenated together and written to file. (in the manual page but not in --help) | man |
--continue | Continue getting a partially-downloaded file. (in the manual page but not in --help) | man |
--timestamping | Turn on time-stamping. (in the manual page but not in --help) | man |
--server-response | Print the headers sent by HTTP servers and responses sent by FTP servers. (in the manual page but not in --help) | man |
--timeout seconds | Set the network timeout to seconds seconds. (in the manual page but not in --help) | man |
--wait seconds | Wait the specified number of seconds between the retrievals. (in the manual page but not in --help) | man |
--quota quota | Specify download quota for automatic retrievals. (in the manual page but not in --help) | man |
--inet4-only | (in the manual page but not in --help) | man |
--inet6-only | Force connecting to IPv4 or IPv6 addresses. (in the manual page but not in --help) | man |
--force-directories | The opposite of -nd---create a hierarchy of directories, even if one would not have been created otherwise. (in the manual page but not in --help) | man |
--directory-prefix prefix | Set directory prefix to prefix. (in the manual page but not in --help) | man |
--adjust-extension | If a file of type application/xhtml+xml or text/html is downloaded and the URL does not end with the regexp .[Hh][Tt][Mm][Ll]?, this option will cause the suffix .html to be appended to the local… (in the manual page but not in --help) | man |
--compression type | Choose the type of compression to be used. (in the manual page but not in --help) | man |
--user-agent agent-string | Identify as agent-string to the HTTP server. (in the manual page but not in --help) | man |
--egd-file file | [OpenSSL only] Use file as the EGD socket. (in the manual page but not in --help) | man |
--no-warc-compression | Do not compress WARC files with GZIP. (in the manual page but not in --help) | man |
--no-ftps-resume-ssl | Do not resume the SSL/TLS session in the data channel. (in the manual page but not in --help) | man |
--recursive | Turn on recursive retrieving. (in the manual page but not in --help) | man |
--level depth | Set the maximum number of subdirectories that Wget will recurse into to depth. (in the manual page but not in --help) | man |
--convert-links | After the download is complete, convert the links in the document to make them suitable for local viewing. (in the manual page but not in --help) | man |
--backup-converted | When converting a file, back up the original version with a .orig suffix. (in the manual page but not in --help) | man |
--mirror | Turn on options suitable for mirroring. (in the manual page but not in --help) | man |
--page-requisites | This option causes Wget to download all the files that are necessary to properly display a given HTML page. (in the manual page but not in --help) | man |
--domains domain-list | Set domains to be followed. (in the manual page but not in --help) | man |
--span-hosts | Enable spanning across hosts when doing recursive retrieving. (in the manual page but not in --help) | man |
--relative | Follow relative links only. (in the manual page but not in --help) | man |
--include-directories list | Specify a comma-separated list of directories you wish to follow when downloading. (in the manual page but not in --help) | man |
--exclude-directories list | Specify a comma-separated list of directories you wish to exclude from download. (in the manual page but not in --help) | man |