X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=doc%2Fwget.texi;h=cced7edda118e268b6f290ae272380179044dbce;hp=5054382ddf104cd2ccb31760403be6437150e573;hb=42c78fdd71c311cf96210b709ec0a18ef45ef87f;hpb=c78caecbb4209ce2e36a587497cf1d6b350e513a diff --git a/doc/wget.texi b/doc/wget.texi index 5054382d..cced7edd 100644 --- a/doc/wget.texi +++ b/doc/wget.texi @@ -630,6 +630,13 @@ Note that when @samp{-nc} is specified, files with the suffixes @samp{.html} or @samp{.htm} will be loaded from the local disk and parsed as if they had been retrieved from the Web. +@cindex backing up files +@item --backups=@var{backups} +Before (over)writing a file, back up an existing file by adding a +@samp{.1} suffix (@samp{_1} on VMS) to the file name. Such backup +files are rotated to @samp{.2}, @samp{.3}, and so on, up to +@var{backups} (and lost beyond that). + @cindex continue retrieval @cindex incomplete downloads @cindex resume download @@ -735,7 +742,7 @@ Turn on time-stamping. @xref{Time-Stamping}, for details. @item --no-use-server-timestamps Don't set the local file's timestamp by the one on the server. -By default, when a file is downloaded, it's timestamps are set to +By default, when a file is downloaded, its timestamps are set to match those from the remote file. This allows the use of @samp{--timestamping} on subsequent invocations of wget. However, it is sometimes useful to base the local file's timestamp on when it was @@ -1599,6 +1606,9 @@ buggy SSL server implementations that make it hard for OpenSSL to choose the correct protocol version. Fortunately, such servers are quite rare. +@item --https-only +When in recursive mode, only HTTPS links are followed. + @cindex SSL certificate, check @item --no-check-certificate Don't check the server certificate against the available certificate @@ -2882,9 +2892,11 @@ enables it). Enable/disable saving pre-converted files with the suffix @samp{.orig}---the same as @samp{-K} (which enables it). -@c @item backups = @var{number} -@c #### Document me! -@c +@item backups = @var{number} +Use up to @var{number} backups for a file. Backups are rotated by +adding an incremental counter that starts at @samp{1}. The default is +@samp{0}. + @item base = @var{string} Consider relative @sc{url}s in input files (specified via the @samp{input} command or the @samp{--input-file}/@samp{-i} option,