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
This commit is contained in:
Bernhard Voelker committed 2015-12-01 23:30:14 +01:00
1 parent f7ab20cd60
commit 7c3f05cf6c
1 file changed
+3
+3
View File
@@ -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