Subject: mv: check before asking users useless questions

From: 積丹尼 Dan Jacobson <[email-masked]>
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.