summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBernhard Voelker <mail@bernhard-voelker.de>2015-12-01 23:30:14 +0100
committerBernhard Voelker <mail@bernhard-voelker.de>2015-12-01 23:30:14 +0100
commit7c3f05cf6ccf4d6cad71f93f5b7dbef2d4b7ef78 (patch)
treecfc0ed5d1adf0b9fa61ec7000df14bf0f427e794 /doc
parentf7ab20cd606fe6f66028a382d1b5736c4fea9d15 (diff)
downloadcoreutils-7c3f05cf6ccf4d6cad71f93f5b7dbef2d4b7ef78.tar.xz
doc: clarify behaviour of mv for existing target directories
* doc/coreutils.texi (mv invocation): Add a sentence to clarify that mv(1) will only replace empty directories in the target, and fail with a diagnostic otherwise. Discussed at: http://lists.gnu.org/archive/html/coreutils/2015-12/msg00000.html
Diffstat (limited to 'doc')
-rw-r--r--doc/coreutils.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index a13c6e7be..595cb9fe2 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -9094,6 +9094,9 @@ However, on other systems (at least FreeBSD 6.1 and Solaris 10) it silently
renames not the symlink but rather the directory referenced by the symlink.
@xref{Trailing slashes}.
+@emph{Note}: @command{mv} will only replace empty directories in the
+destination. Conflicting populated directories are skipped with a diagnostic.
+
The program accepts the following options. Also see @ref{Common options}.
@table @samp