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

Previous Next

Package: coreutils;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Mon, 4 Mar 2024 00:46:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 69532 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Petr Malat <oss <at> malat.biz>, P??draig Brady <P <at> draigbrady.com>
Cc: 69532 <at> debbugs.gnu.org
Subject: Re: bug#69532: mv's new -x option should be made orthogonal to
 -t/-T/default
Date: Mon, 4 Mar 2024 16:08:30 -0800
On 3/4/24 15:16, Petr Malat wrote:
>   I prefer KISS principle and allowing
> swapping just 2 paths.

In that case, the option should be added to the 'rename' command, not to 
'mv'.

It is not KISS to add an option to 'mv' that makes it act completely 
differently, such that most of mv's other options don't work or don't 
make sense. That would be complexity, not simplicity.

If you want simplicity, use the 'rename' command.






This bug report was last modified 1 year and 152 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.