On 2024-03-01 01:18, Pádraig Brady wrote: > I agree this is useful functionality, > but the thinking is we should add this to a "replace" utility > rather than to mv.
I made a "swap file-a file-b" utility in the early 1990s. Needless to say, there was no system call for doing it atomically. I didn't find it useful at all, and the code fell by the wayside.