Guest User

Untitled

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