bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#34988: mv: check before asking users useless questions


From: 積丹尼 Dan Jacobson
Subject: bug#34988: mv: check before asking users useless questions
Date: Mon, 25 Mar 2019 14:05:59 +0800

$ mv a b
mv: overwrite 'b'? y
mv: cannot overwrite non-directory 'b' with directory 'a'

User thinks well why didn't you check before uselessly asking me?

Full story:
$ mkdir a
$ touch b
mv: overwrite 'b'? y
mv: cannot overwrite non-directory 'b' with directory 'a'
$ \mv a b
mv: cannot overwrite non-directory 'b' with directory 'a'
$ alias
alias mv='mv -i'

So even if -i is in effect, please do the check before asking users
useless questions.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]