|
From: | Pádraig Brady |
Subject: | Re: [PATCH] mv: add --swap (-s) option to atomically swap 2 paths |
Date: | Fri, 1 Mar 2024 09:18:31 +0000 |
User-agent: | Mozilla Thunderbird |
On 29/02/2024 22:02, Petr Malat wrote:
renameat2() syscall allows atomically swapping 2 paths on one file system. Expose this ability to the user using -s option. * NEWS: Mention the new option
Thanks for the patch. That was suggested previously: https://lists.gnu.org/archive/html/coreutils/2021-05/msg00030.html I agree this is useful functionality, but the thinking is we should add this to a "replace" utility rather than to mv. thanks, Pádraig
[Prev in Thread] | Current Thread | [Next in Thread] |