diff options
author | Pádraig Brady <P@draigBrady.com> | 2011-07-31 09:36:41 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2011-07-31 13:08:47 +0100 |
commit | 7eaff0fea3583d0ae7f8a6f6ccaf1c44f3ed4d3e (patch) | |
tree | 809fb69d32a3ed1981b742553af12a7874e969dd /doc | |
parent | e24c711cbc581168e670b3fd41580c6588d439a9 (diff) | |
download | coreutils-7eaff0fea3583d0ae7f8a6f6ccaf1c44f3ed4d3e.tar.xz |
doc: mention the new mirroring behavior of cp -au
* NEWS: Mention the change in behavior.
* doc/coreutils.texi (cp invocation): Likewise.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/coreutils.texi | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi index b406a3cfb..8ab70c186 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -7954,8 +7954,11 @@ same or newer modification time. If time stamps are being preserved, the comparison is to the source time stamp truncated to the resolutions of the destination file system and of the system calls used to update time stamps; this avoids duplicate work if several -@samp{cp -pu} commands are executed with the same source and -destination. +@samp{cp -pu} commands are executed with the same source and destination. +If @option{--preserve=links} is also specified (like with @samp{cp -au} +for example), that will take precedence. Consequently, depending on the +order that files are processed from the source, newer files in the destination +may be replaced, to mirror hard links in the source. @item -v @itemx --verbose |