1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-21 11:16:16 +02:00

mv: revert add --swap (-x) option

Since this functionality is recently available
in the exch(1) utility from util-linux,
it was thought best not to complicate mv with it.

This reverts commit 6cd2d5e533
This commit is contained in:
Pádraig Brady
2024-03-05 21:31:34 +00:00
parent fea833591b
commit 9d8890d872
5 changed files with 1 additions and 99 deletions

View File

@@ -10302,16 +10302,6 @@ to cause @command{cp} write to arbitrary target directories.
@optBackupSuffix
@item -x
@itemx --swap
@opindex -x
@opindex --swap
@cindex swapping files
Atomically exchange all data and metadata for two specified files.
They can be of a different type,
but must exist and reside on the same file system.
If the atomic swap is not supported, exit with failure status.
@optTargetDirectory
@optNoTargetDirectory