From: Paul Eggert Date: Wed, 20 Mar 2024 22:01:07 +0000 (-0700) Subject: doc: clarify mv --exchange X-Git-Tag: v9.5~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1913bfcf573d6101a133e56b6741ad8773ff1d38;p=thirdparty%2Fcoreutils.git doc: clarify mv --exchange In the manual, say it exchanges all data and metadata. Suggested by Pádraig Brady in: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=69532#59 --- diff --git a/doc/coreutils.texi b/doc/coreutils.texi index ffe47aad54..e36269588b 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -10277,6 +10277,7 @@ fail with a diagnostic instead of copying and then removing the file. @opindex --exchange Exchange source and destination instead of renaming source to destination. Both files must exist; they need not be the same type. +This exchanges all data and metadata. This option can be used to replace one directory with another. When used this way, it should be combined with