PageRenderTime 70ms CodeModel.GetById 66ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/wgetrc

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