mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Improve accuracy in documentation regarding -nd with -r or -p. Bug #21509.
This commit is contained in:
parent
1975b2f8f5
commit
dc7f8ea8d2
@ -1,3 +1,8 @@
|
|||||||
|
2009-06-12 Micah Cowan <micah@cowan.name>
|
||||||
|
|
||||||
|
* wget.texi (Download Options): More accuracy on what happens when
|
||||||
|
-nd is used with -r or -p.
|
||||||
|
|
||||||
2009-06-11 Micah Cowan <micah@cowan.name>
|
2009-06-11 Micah Cowan <micah@cowan.name>
|
||||||
|
|
||||||
* wget.texi (Contributors): Added Xin Zou, Benjamin Wolsley, and
|
* wget.texi (Contributors): Added Xin Zou, Benjamin Wolsley, and
|
||||||
|
@ -582,23 +582,24 @@ behavior depends on a few options, including @samp{-nc}. In certain
|
|||||||
cases, the local file will be @dfn{clobbered}, or overwritten, upon
|
cases, the local file will be @dfn{clobbered}, or overwritten, upon
|
||||||
repeated download. In other cases it will be preserved.
|
repeated download. In other cases it will be preserved.
|
||||||
|
|
||||||
When running Wget without @samp{-N}, @samp{-nc}, @samp{-r}, or @samp{p},
|
When running Wget without @samp{-N}, @samp{-nc}, @samp{-r}, or
|
||||||
downloading the same file in the same directory will result in the
|
@samp{-p}, downloading the same file in the same directory will result
|
||||||
original copy of @var{file} being preserved and the second copy being
|
in the original copy of @var{file} being preserved and the second copy
|
||||||
named @samp{@var{file}.1}. If that file is downloaded yet again, the
|
being named @samp{@var{file}.1}. If that file is downloaded yet
|
||||||
third copy will be named @samp{@var{file}.2}, and so on. When
|
again, the third copy will be named @samp{@var{file}.2}, and so on.
|
||||||
@samp{-nc} is specified, this behavior is suppressed, and Wget will
|
(This is also the behavior with @samp{-nd}, even if @samp{-r} or
|
||||||
refuse to download newer copies of @samp{@var{file}}. Therefore,
|
@samp{-p} are in effect.) When @samp{-nc} is specified, this behavior
|
||||||
``@code{no-clobber}'' is actually a misnomer in this mode---it's not
|
is suppressed, and Wget will refuse to download newer copies of
|
||||||
clobbering that's prevented (as the numeric suffixes were already
|
@samp{@var{file}}. Therefore, ``@code{no-clobber}'' is actually a
|
||||||
preventing clobbering), but rather the multiple version saving that's
|
misnomer in this mode---it's not clobbering that's prevented (as the
|
||||||
prevented.
|
numeric suffixes were already preventing clobbering), but rather the
|
||||||
|
multiple version saving that's prevented.
|
||||||
|
|
||||||
When running Wget with @samp{-r} or @samp{-p}, but without @samp{-N}
|
When running Wget with @samp{-r} or @samp{-p}, but without @samp{-N},
|
||||||
or @samp{-nc}, re-downloading a file will result in the new copy
|
@samp{-nd}, or @samp{-nc}, re-downloading a file will result in the
|
||||||
simply overwriting the old. Adding @samp{-nc} will prevent this
|
new copy simply overwriting the old. Adding @samp{-nc} will prevent
|
||||||
behavior, instead causing the original version to be preserved and any
|
this behavior, instead causing the original version to be preserved
|
||||||
newer copies on the server to be ignored.
|
and any newer copies on the server to be ignored.
|
||||||
|
|
||||||
When running Wget with @samp{-N}, with or without @samp{-r} or
|
When running Wget with @samp{-N}, with or without @samp{-r} or
|
||||||
@samp{-p}, the decision as to whether or not to download a newer copy
|
@samp{-p}, the decision as to whether or not to download a newer copy
|
||||||
|
Loading…
Reference in New Issue
Block a user