mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
doc: document --backups
This commit is contained in:
parent
eee1589ef3
commit
44ba49b31f
@ -1,3 +1,9 @@
|
|||||||
|
2013-07-09 Giuseppe Scrivano <gscrivano@gnu.org>
|
||||||
|
|
||||||
|
* wget.texi (Download Options): Add documentation for --backups.
|
||||||
|
(Wgetrc Commands): Add documentation for backups.
|
||||||
|
Reported by: Tomas Hozza <thozza@redhat.com>.
|
||||||
|
|
||||||
2013-07-11 Tomas Hozza <thozza@redhat.com>
|
2013-07-11 Tomas Hozza <thozza@redhat.com>
|
||||||
|
|
||||||
* wget.texi: Document --regex-type and --preserve-permissions.
|
* wget.texi: Document --regex-type and --preserve-permissions.
|
||||||
|
@ -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
|
@samp{.html} or @samp{.htm} will be loaded from the local disk and
|
||||||
parsed as if they had been retrieved from the Web.
|
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 continue retrieval
|
||||||
@cindex incomplete downloads
|
@cindex incomplete downloads
|
||||||
@cindex resume download
|
@cindex resume download
|
||||||
@ -2882,9 +2889,11 @@ enables it).
|
|||||||
Enable/disable saving pre-converted files with the suffix
|
Enable/disable saving pre-converted files with the suffix
|
||||||
@samp{.orig}---the same as @samp{-K} (which enables it).
|
@samp{.orig}---the same as @samp{-K} (which enables it).
|
||||||
|
|
||||||
@c @item backups = @var{number}
|
@item backups = @var{number}
|
||||||
@c #### Document me!
|
Use up to @var{number} backups for a file. Backups are rotated by
|
||||||
@c
|
adding an incremental counter that starts at @samp{1}. The default is
|
||||||
|
@samp{0}.
|
||||||
|
|
||||||
@item base = @var{string}
|
@item base = @var{string}
|
||||||
Consider relative @sc{url}s in input files (specified via the
|
Consider relative @sc{url}s in input files (specified via the
|
||||||
@samp{input} command or the @samp{--input-file}/@samp{-i} option,
|
@samp{input} command or the @samp{--input-file}/@samp{-i} option,
|
||||||
|
@ -714,6 +714,9 @@ Recursive download:\n"),
|
|||||||
N_("\
|
N_("\
|
||||||
-k, --convert-links make links in downloaded HTML or CSS point to\n\
|
-k, --convert-links make links in downloaded HTML or CSS point to\n\
|
||||||
local files.\n"),
|
local files.\n"),
|
||||||
|
N_("\
|
||||||
|
--backups=N before writing file X, rotate up to N backup files.\n"),
|
||||||
|
|
||||||
#ifdef __VMS
|
#ifdef __VMS
|
||||||
N_("\
|
N_("\
|
||||||
-K, --backup-converted before converting file X, back up as X_orig.\n"),
|
-K, --backup-converted before converting file X, back up as X_orig.\n"),
|
||||||
|
Loading…
Reference in New Issue
Block a user