]> sjero.net Git - wget/blob - doc/sample.wgetrc
[svn] Initial revision
[wget] / doc / sample.wgetrc
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 /usr/local/etc/wgetrc
11 ## (global, for all users) or $HOME/.wgetrc (for a single user).
12 ##
13 ## To use any of the settings in this file, you will have to uncomment
14 ## them (and probably change them).
15
16
17 ##
18 ## Global settings (useful for setting up in /usr/local/etc/wgetrc).
19 ## Think well before you change them, since they may reduce wget's
20 ## functionality, and make it behave contrary to the documentation:
21 ##
22
23 # You can set retrieve quota for beginners by specifying a value
24 # optionally followed by 'K' (kilobytes) or 'M' (megabytes).  The
25 # default quota is unlimited.
26 #quota = inf
27
28 # You can lower (or raise) the default number of retries when
29 # downloading a file (default is 20).
30 #tries = 20
31
32 # Lowering the maximum depth of the recursive retrieval is handy to
33 # prevent newbies from going too "deep" when they unwittingly start
34 # the recursive retrieval.  The default is 5.
35 #reclevel = 5
36
37 # Many sites are behind firewalls that do not allow initiation of
38 # connections from the outside.  On these sites you have to use the
39 # `passive' feature of FTP.  If you are behind such a firewall, you
40 # can turn this on to make Wget use passive FTP by default.
41 #passive_ftp = off
42
43
44 ##
45 ## Local settings (for a user to set in his $HOME/.wgetrc).  It is
46 ## *highly* undesirable to put these settings in the global file, since
47 ## they are potentially dangerous to "normal" users.
48 ##
49 ## Even when setting up your own ~/.wgetrc, you should know what you
50 ## are doing before doing so.
51 ##
52
53 # Set this to on to use timestamping by default:
54 #timestamping = off
55
56 # It is a good idea to make Wget send your email address in a `From:'
57 # header with your request (so that server administrators can contact
58 # you in case of errors).  Wget does *not* send `From:' by default.
59 #header = From: Your Name <username@site.domain>
60
61 # You can set up other headers, like Accept-Language.  Accept-Language
62 # is *not* sent by default.
63 #header = Accept-Language: en
64
65 # You can set the default proxy for Wget to use.  It will override the
66 # value in the environment.
67 #http_proxy = http://proxy.yoyodyne.com:18023/
68
69 # If you do not want to use proxy at all, set this to off.
70 #use_proxy = on
71
72 # You can customize the retrieval outlook.  Valid options are default,
73 # binary, mega and micro.
74 #dot_style = default
75
76 # Setting this to off makes Wget not download /robots.txt.  Be sure to
77 # know *exactly* what /robots.txt is and how it is used before changing
78 # the default!
79 #robots = on
80
81 # It can be useful to make Wget wait between connections.  Set this to
82 # the number of seconds you want Wget to wait.
83 #wait = 0
84
85 # You can force creating directory structure, even if a single is being
86 # retrieved, by setting this to on.
87 #dirstruct = off
88
89 # You can turn on recursive retrieving by default (don't do this if
90 # you are not sure you know what it means) by setting this to on.
91 #recursive = off
92
93 # To have Wget follow FTP links from HTML files by default, set this
94 # to on:
95 #follow_ftp = off