Advertisement
eXFq7GJ1cC

Untitled

Apr 23rd, 2012
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.66 KB | None | 0 0
  1. GNU Wget 1.13.4, a non-interactive network retriever.
  2. Usage: wget [OPTION]... [URL]...
  3.  
  4. Mandatory arguments to long options are mandatory for short options too.
  5.  
  6. Startup:
  7. -V, --version display the version of Wget and exit.
  8. -h, --help print this help.
  9. -b, --background go to background after startup.
  10. -e, --execute=COMMAND execute a `.wgetrc'-style command.
  11.  
  12. Logging and input file:
  13. -o, --output-file=FILE log messages to FILE.
  14. -a, --append-output=FILE append messages to FILE.
  15. -d, --debug print lots of debugging information.
  16. -q, --quiet quiet (no output).
  17. -v, --verbose be verbose (this is the default).
  18. -nv, --no-verbose turn off verboseness, without being quiet.
  19. -i, --input-file=FILE download URLs found in local or external FILE.
  20. -F, --force-html treat input file as HTML.
  21. -B, --base=URL resolves HTML input-file links (-i -F)
  22. relative to URL.
  23. --config=FILE Specify config file to use.
  24.  
  25. Download:
  26. -t, --tries=NUMBER set number of retries to NUMBER (0 unlimits).
  27. --retry-connrefused retry even if connection is refused.
  28. -O, --output-document=FILE write documents to FILE.
  29. -nc, --no-clobber skip downloads that would download to
  30. existing files (overwriting them).
  31. -c, --continue resume getting a partially-downloaded file.
  32. --progress=TYPE select progress gauge type.
  33. -N, --timestamping don't re-retrieve files unless newer than
  34. local.
  35. --no-use-server-timestamps don't set the local file's timestamp by
  36. the one on the server.
  37. -S, --server-response print server response.
  38. --spider don't download anything.
  39. -T, --timeout=SECONDS set all timeout values to SECONDS.
  40. --dns-timeout=SECS set the DNS lookup timeout to SECS.
  41. --connect-timeout=SECS set the connect timeout to SECS.
  42. --read-timeout=SECS set the read timeout to SECS.
  43. -w, --wait=SECONDS wait SECONDS between retrievals.
  44. --waitretry=SECONDS wait 1..SECONDS between retries of a retrieval.
  45. --random-wait wait from 0.5*WAIT...1.5*WAIT secs between retrievals.
  46. --no-proxy explicitly turn off proxy.
  47. -Q, --quota=NUMBER set retrieval quota to NUMBER.
  48. --bind-address=ADDRESS bind to ADDRESS (hostname or IP) on local host.
  49. --limit-rate=RATE limit download rate to RATE.
  50. --no-dns-cache disable caching DNS lookups.
  51. --restrict-file-names=OS restrict chars in file names to ones OS allows.
  52. --ignore-case ignore case when matching files/directories.
  53. -4, --inet4-only connect only to IPv4 addresses.
  54. -6, --inet6-only connect only to IPv6 addresses.
  55. --prefer-family=FAMILY connect first to addresses of specified family,
  56. one of IPv6, IPv4, or none.
  57. --user=USER set both ftp and http user to USER.
  58. --password=PASS set both ftp and http password to PASS.
  59. --ask-password prompt for passwords.
  60. --no-iri turn off IRI support.
  61. --local-encoding=ENC use ENC as the local encoding for IRIs.
  62. --remote-encoding=ENC use ENC as the default remote encoding.
  63. --unlink remove file before clobber.
  64.  
  65. Directories:
  66. -nd, --no-directories don't create directories.
  67. -x, --force-directories force creation of directories.
  68. -nH, --no-host-directories don't create host directories.
  69. --protocol-directories use protocol name in directories.
  70. -P, --directory-prefix=PREFIX save files to PREFIX/...
  71. --cut-dirs=NUMBER ignore NUMBER remote directory components.
  72.  
  73. HTTP options:
  74. --http-user=USER set http user to USER.
  75. --http-password=PASS set http password to PASS.
  76. --no-cache disallow server-cached data.
  77. --default-page=NAME Change the default page name (normally
  78. this is `index.html'.).
  79. -E, --adjust-extension save HTML/CSS documents with proper extensions.
  80. --ignore-length ignore `Content-Length' header field.
  81. --header=STRING insert STRING among the headers.
  82. --max-redirect maximum redirections allowed per page.
  83. --proxy-user=USER set USER as proxy username.
  84. --proxy-password=PASS set PASS as proxy password.
  85. --referer=URL include `Referer: URL' header in HTTP request.
  86. --save-headers save the HTTP headers to file.
  87. -U, --user-agent=AGENT identify as AGENT instead of Wget/VERSION.
  88. --no-http-keep-alive disable HTTP keep-alive (persistent connections).
  89. --no-cookies don't use cookies.
  90. --load-cookies=FILE load cookies from FILE before session.
  91. --save-cookies=FILE save cookies to FILE after session.
  92. --keep-session-cookies load and save session (non-permanent) cookies.
  93. --post-data=STRING use the POST method; send STRING as the data.
  94. --post-file=FILE use the POST method; send contents of FILE.
  95. --content-disposition honor the Content-Disposition header when
  96. choosing local file names (EXPERIMENTAL).
  97. --auth-no-challenge send Basic HTTP authentication information
  98. without first waiting for the server's
  99. challenge.
  100.  
  101. HTTPS (SSL/TLS) options:
  102. --secure-protocol=PR choose secure protocol, one of auto, SSLv2,
  103. SSLv3, and TLSv1.
  104. --no-check-certificate don't validate the server's certificate.
  105. --certificate=FILE client certificate file.
  106. --certificate-type=TYPE client certificate type, PEM or DER.
  107. --private-key=FILE private key file.
  108. --private-key-type=TYPE private key type, PEM or DER.
  109. --ca-certificate=FILE file with the bundle of CA's.
  110. --ca-directory=DIR directory where hash list of CA's is stored.
  111. --random-file=FILE file with random data for seeding the SSL PRNG.
  112. --egd-file=FILE file naming the EGD socket with random data.
  113.  
  114. FTP options:
  115. --ftp-user=USER set ftp user to USER.
  116. --ftp-password=PASS set ftp password to PASS.
  117. --no-remove-listing don't remove `.listing' files.
  118. --no-glob turn off FTP file name globbing.
  119. --no-passive-ftp disable the "passive" transfer mode.
  120. --retr-symlinks when recursing, get linked-to files (not dir).
  121.  
  122. Recursive download:
  123. -r, --recursive specify recursive download.
  124. -l, --level=NUMBER maximum recursion depth (inf or 0 for infinite).
  125. --delete-after delete files locally after downloading them.
  126. -k, --convert-links make links in downloaded HTML or CSS point to
  127. local files.
  128. -K, --backup-converted before converting file X, back up as X.orig.
  129. -m, --mirror shortcut for -N -r -l inf --no-remove-listing.
  130. -p, --page-requisites get all images, etc. needed to display HTML page.
  131. --strict-comments turn on strict (SGML) handling of HTML comments.
  132.  
  133. Recursive accept/reject:
  134. -A, --accept=LIST comma-separated list of accepted extensions.
  135. -R, --reject=LIST comma-separated list of rejected extensions.
  136. -D, --domains=LIST comma-separated list of accepted domains.
  137. --exclude-domains=LIST comma-separated list of rejected domains.
  138. --follow-ftp follow FTP links from HTML documents.
  139. --follow-tags=LIST comma-separated list of followed HTML tags.
  140. --ignore-tags=LIST comma-separated list of ignored HTML tags.
  141. -H, --span-hosts go to foreign hosts when recursive.
  142. -L, --relative follow relative links only.
  143. -I, --include-directories=LIST list of allowed directories.
  144. --trust-server-names use the name specified by the redirection
  145. url last component.
  146. -X, --exclude-directories=LIST list of excluded directories.
  147. -np, --no-parent don't ascend to the parent directory.
  148.  
  149. Mail bug reports and suggestions to <bug-wget@gnu.org>.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement