wgetrc 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. ###
  2. ### Sample Wget initialization file .wgetrc
  3. ###
  4. ## You can use this file to change the default behaviour of wget or to
  5. ## avoid having to type many many command-line options. This file does
  6. ## not contain a comprehensive list of commands -- look at the manual
  7. ## to find out what you can put into this file.
  8. ##
  9. ## Wget initialization file can reside in /usr/local/etc/wgetrc
  10. ## (global, for all users) or $HOME/.wgetrc (for a single user).
  11. ##
  12. ## To use the settings in this file, you will have to uncomment them,
  13. ## as well as change them, in most cases, as the values on the
  14. ## commented-out lines are the default values (e.g. "off").
  15. ##
  16. ## Global settings (useful for setting up in /usr/local/etc/wgetrc).
  17. ## Think well before you change them, since they may reduce wget's
  18. ## functionality, and make it behave contrary to the documentation:
  19. ##
  20. # You can set retrieve quota for beginners by specifying a value
  21. # optionally followed by 'K' (kilobytes) or 'M' (megabytes). The
  22. # default quota is unlimited.
  23. #quota = inf
  24. # You can lower (or raise) the default number of retries when
  25. # downloading a file (default is 20).
  26. #tries = 20
  27. # Lowering the maximum depth of the recursive retrieval is handy to
  28. # prevent newbies from going too "deep" when they unwittingly start
  29. # the recursive retrieval. The default is 5.
  30. #reclevel = 5
  31. # By default Wget uses "passive FTP" transfer where the client
  32. # initiates the data connection to the server rather than the other
  33. # way around. That is required on systems behind NAT where the client
  34. # computer cannot be easily reached from the Internet. However, some
  35. # firewalls software explicitly supports active FTP and in fact has
  36. # problems supporting passive transfer. If you are in such
  37. # environment, use "passive_ftp = off" to revert to active FTP.
  38. #passive_ftp = off
  39. # The "wait" command below makes Wget wait between every connection.
  40. # If, instead, you want Wget to wait only between retries of failed
  41. # downloads, set waitretry to maximum number of seconds to wait (Wget
  42. # will use "linear backoff", waiting 1 second after the first failure
  43. # on a file, 2 seconds after the second failure, etc. up to this max).
  44. waitretry = 10
  45. ##
  46. ## Local settings (for a user to set in his $HOME/.wgetrc). It is
  47. ## *highly* undesirable to put these settings in the global file, since
  48. ## they are potentially dangerous to "normal" users.
  49. ##
  50. ## Even when setting up your own ~/.wgetrc, you should know what you
  51. ## are doing before doing so.
  52. ##
  53. # Set this to on to use timestamping by default:
  54. #timestamping = off
  55. # It is a good idea to make Wget send your email address in a `From:'
  56. # header with your request (so that server administrators can contact
  57. # you in case of errors). Wget does *not* send `From:' by default.
  58. #header = From: Your Name <username@site.domain>
  59. # You can set up other headers, like Accept-Language. Accept-Language
  60. # is *not* sent by default.
  61. #header = Accept-Language: en
  62. # You can set the default proxies for Wget to use for http and ftp.
  63. # They will override the value in the environment.
  64. #http_proxy = http://proxy.yoyodyne.com:18023/
  65. #ftp_proxy = http://proxy.yoyodyne.com:18023/
  66. # If you do not want to use proxy at all, set this to off.
  67. #use_proxy = on
  68. # You can customize the retrieval outlook. Valid options are default,
  69. # binary, mega and micro.
  70. #dot_style = default
  71. # Setting this to off makes Wget not download /robots.txt. Be sure to
  72. # know *exactly* what /robots.txt is and how it is used before changing
  73. # the default!
  74. #robots = on
  75. # It can be useful to make Wget wait between connections. Set this to
  76. # the number of seconds you want Wget to wait.
  77. #wait = 0
  78. # You can force creating directory structure, even if a single is being
  79. # retrieved, by setting this to on.
  80. #dirstruct = off
  81. # You can turn on recursive retrieving by default (don't do this if
  82. # you are not sure you know what it means) by setting this to on.
  83. #recursive = off
  84. # To always back up file X as X.orig before converting its links (due
  85. # to -k / --convert-links / convert_links = on having been specified),
  86. # set this variable to on:
  87. #backup_converted = off
  88. # To have Wget follow FTP links from HTML files by default, set this
  89. # to on:
  90. #follow_ftp = off