You are on page 1of 2

GNU Wget 1.8.2, a non-interactive network retriever. Usage: wget [OPTION]... [URL]...

Mandatory arguments to long options are mandatory for short options too. Startup: -V, --version -h, --help -b, --background -e, --execute=COMMAND Logging and input file: -o, --output-file=FILE -a, --append-output=FILE -d, --debug -q, --quiet -v, --verbose -nv, --non-verbose -i, --input-file=FILE -F, --force-html -B, --base=URL --sslcertfile=FILE --sslcertkey=KEYFILE --egd-file=FILE Download: --bind-address=ADDRESS -t, --tries=NUMBER -O --output-document=FILE -nc, --no-clobber -c, --continue --progress=TYPE -N, --timestamping -S, --server-response --spider -T, --timeout=SECONDS -w, --wait=SECONDS --waitretry=SECONDS --random-wait -Y, --proxy=on/off -Q, --quota=NUMBER --limit-rate=RATE Directories: -nd --no-directories -x, --force-directories -nH, --no-host-directories -P, --directory-prefix=PREFIX --cut-dirs=NUMBER HTTP options: --http-user=USER --http-passwd=PASS -C, --cache=on/off -E, --html-extension --ignore-length --header=STRING --proxy-user=USER --proxy-passwd=PASS --referer=URL display the version of Wget and exit. print this help. go to background after startup. execute a `.wgetrc'-style command. log messages to FILE. append messages to FILE. print debug output. quiet (no output). be verbose (this is the default). turn off verboseness, without being quiet. download URLs found in FILE. treat input file as HTML. prepends URL to relative links in -F -i file. optional client certificate. optional keyfile for this certificate. file name of the EGD socket. bind to ADDRESS (hostname or IP) on local host. set number of retries to NUMBER (0 unlimits). write documents to FILE. don't clobber existing files or use .# suffixes. resume getting a partially-downloaded file. select progress gauge type. don't re-retrieve files unless newer than local. print server response. don't download anything. set the read timeout to SECONDS. wait SECONDS between retrievals. wait 1...SECONDS between retries of a retrieval. wait from 0...2*WAIT secs between retrievals. turn proxy on or off. set retrieval quota to NUMBER. limit download rate to RATE. don't create directories. force creation of directories. don't create host directories. save files to PREFIX/... ignore NUMBER remote directory components.

set http user to USER. set http password to PASS. (dis)allow server-cached data (normally allowed). save all text/html documents with .html extension. ignore `Content-Length' header field. insert STRING among the headers. set USER as proxy username. set PASS as proxy password. include `Referer: URL' header in HTTP request.

-s, --save-headers -U, --user-agent=AGENT --no-http-keep-alive --cookies=off --load-cookies=FILE --save-cookies=FILE FTP options: -nr, --dont-remove-listing -g, --glob=on/off --passive-ftp --retr-symlinks Recursive retrieval: -r, --recursive -l, --level=NUMBER --delete-after -k, --convert-links -K, --backup-converted -m, --mirror -p, --page-requisites

save the HTTP headers to file. identify as AGENT instead of Wget/VERSION. disable HTTP keep-alive (persistent connections). don't use cookies. load cookies from FILE before session. save cookies to FILE after session. don't remove `.listing' files. turn file name globbing on or off. use the "passive" transfer mode. when recursing, get linked-to files (not dirs). recursive web-suck -- use with care! maximum recursion depth (inf or 0 for infinite). delete files locally after downloading them. convert non-relative links to relative. before converting file X, back up as X.orig. shortcut option equivalent to -r -N -l inf -nr. get all images, etc. needed to display HTML page. comma-separated list of accepted extensions. comma-separated list of rejected extensions. comma-separated list of accepted domains. comma-separated list of rejected domains. follow FTP links from HTML documents. comma-separated list of followed HTML tags. comma-separated list of ignored HTML tags. go to foreign hosts when recursive. follow relative links only. list of allowed directories. list of excluded directories. don't ascend to the parent directory.

Recursive accept/reject: -A, --accept=LIST -R, --reject=LIST -D, --domains=LIST --exclude-domains=LIST --follow-ftp --follow-tags=LIST -G, --ignore-tags=LIST -H, --span-hosts -L, --relative -I, --include-directories=LIST -X, --exclude-directories=LIST -np, --no-parent

Mail bug reports and suggestions to <bug-wget@gnu.org>. Starting WinHelp D:\_cmd\wget.HLP

You might also like