summaryrefslogtreecommitdiff
path: root/doc/coreutils.texi
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-04-12 09:22:02 +0000
committerJim Meyering <jim@meyering.net>2004-04-12 09:22:02 +0000
commit29a91488a97e15adb2148da295c6b4a198a8a43e (patch)
treebae3f36e2279cad8bf41206802ff4b31c8346ce8 /doc/coreutils.texi
parente4b7d663c08e01ceb08319c1c0ba63282cbc3039 (diff)
downloadcoreutils-29a91488a97e15adb2148da295c6b4a198a8a43e.tar.xz
(mv invocation): Document this.
(cp invocation): Document -u (it was missing!) with new behavior.
Diffstat (limited to 'doc/coreutils.texi')
-rw-r--r--doc/coreutils.texi18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 5ed8f749e..71fb5c8c3 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