bug#69532: mv's new -x option should be made orthogonal to -t/-T/default

2024-03-05 Thread Pádraig Brady
On 05/03/2024 04:10, Paul Eggert wrote: On 3/4/24 16:43, Dominique Martinet wrote: Adding Rob to the loop because this impacts compatibility with toybox/maybe busybox implementations Busybox does not use RENAME_EXCHANGE, so this isn't a Busybox issue. Toybox mv added -x to its development

bug#69532: mv's new -x option should be made orthogonal to -t/-T/default

2024-03-05 Thread Masatake YAMATO
When I knew RENAME_EXCHANGE, I thought we should extend mv command as you did: adding --swap. However, after researching the past challenges, I decided not to propose the feature to coreutils. https://www.gnu.org/software/coreutils/rejected_requests.html

bug#69532: mv's new -x option should be made orthogonal to -t/-T/default

2024-03-05 Thread Karel Zak
On Tue, Mar 05, 2024 at 02:16:05PM +, Pádraig Brady wrote: > I think having the functionality in mv(1) is better than in rename(1), > but since exch(1) is already released that's probably > the best place for this functionality now. > > A separate exch command may be overkill for just this,