1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

Describe -p in relation to -nc

This commit is contained in:
Micah Cowan 2007-09-12 21:48:31 -07:00
parent d7caacb56a
commit 8d9625d419
2 changed files with 13 additions and 12 deletions

View File

@ -1,7 +1,8 @@
2007-09-12 Micah Cowan <micah@cowan.name> 2007-09-12 Micah Cowan <micah@cowan.name>
* wget.texi: Expanded the description of -O. Clarified the * wget.texi: Expanded the description of -O. Clarified the
detection of elements as "patterns" versus "suffixes" in -A, -R. detection of elements as "patterns" versus "suffixes" in -A,
-R. Describe -p in relation to -nc.
2007-07-28 Micah Cowan <micah@cowan.name> 2007-07-28 Micah Cowan <micah@cowan.name>

View File

@ -569,7 +569,7 @@ 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}, or @samp{-r}, When running Wget without @samp{-N}, @samp{-nc}, @samp{-r}, or @samp{p},
downloading the same file in the same directory will result in the downloading the same file in the same directory will result in the
original copy of @var{file} being preserved and the second copy being original copy of @var{file} being preserved and the second copy being
named @samp{@var{file}.1}. If that file is downloaded yet again, the named @samp{@var{file}.1}. If that file is downloaded yet again, the
@ -581,17 +581,17 @@ clobbering that's prevented (as the numeric suffixes were already
preventing clobbering), but rather the multiple version saving that's preventing clobbering), but rather the multiple version saving that's
prevented. prevented.
When running Wget with @samp{-r}, but without @samp{-N} or @samp{-nc}, When running Wget with @samp{-r} or @samp{-p}, but without @samp{-N}
re-downloading a file will result in the new copy simply overwriting the or @samp{-nc}, re-downloading a file will result in the new copy
old. Adding @samp{-nc} will prevent this behavior, instead causing the simply overwriting the old. Adding @samp{-nc} will prevent this
original version to be preserved and any newer copies on the server to behavior, instead causing the original version to be preserved and any
be ignored. newer copies on the server to be ignored.
When running Wget with @samp{-N}, with or without @samp{-r}, the When running Wget with @samp{-N}, with or without @samp{-r} or
decision as to whether or not to download a newer copy of a file depends @samp{-p}, the decision as to whether or not to download a newer copy
on the local and remote timestamp and size of the file of a file depends on the local and remote timestamp and size of the
(@pxref{Time-Stamping}). @samp{-nc} may not be specified at the same file (@pxref{Time-Stamping}). @samp{-nc} may not be specified at the
time as @samp{-N}. same time as @samp{-N}.
Note that when @samp{-nc} is specified, files with the suffixes 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