From 29a91488a97e15adb2148da295c6b4a198a8a43e Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 12 Apr 2004 09:22:02 +0000 Subject: [PATCH] (mv invocation): Document this. (cp invocation): Document -u (it was missing!) with new behavior. --- doc/coreutils.texi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 5ed8f74..71fb5c8 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -6402,6 +6402,19 @@ results in an error message on systems that do not support symbolic links. @optTargetDirectory +@item -u +@itemx --update +@opindex -u +@opindex --update +@cindex newer files, copying only +Do not copy a non-directory that has an existing destination with the +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. + @item -v @itemx --verbose @opindex -v @@ -6881,6 +6894,11 @@ about each existing destination file. @cindex newer files, moving only Do not move a non-directory that has an existing destination with the same or newer modification time. +If the move is across file system boundaries, 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{mv -u} commands are executed with the +same source and destination. @item -v @itemx --verbose -- 2.7.4