On 12/01/2015 12:19 PM, Pádraig Brady wrote:
> On 01/12/15 11:14, Pádraig Brady wrote:
>> http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=v8.21-98-g2bdb74e
>>
>> I suppose the text would be summarized like:
>>
>> Note, mv will only replace empty directories in the destination,
>> with existing populated directories skipped with a diagnostic.
> 
> Ugh that doesn't read too well sorry :) Take two...
> 
> Note mv will only replace empty directories in the destination.
> Conflicting populated directories are skipped with a diagnostic.

Thanks.
I've wrapped this into the attached patch in your name.

Have a nice day,
Berny
>From 8e8d3e6fb8657eda0bccb3332e42a78be4d05674 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C3=A1draig=20Brady?= <[email protected]>
Date: Tue, 1 Dec 2015 22:51:28 +0100
Subject: [PATCH] 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
---
 doc/coreutils.texi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index a13c6e7..595cb9f 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
-- 
2.1.4

Reply via email to