Red Hat Bugzilla – Bug 209041
Handling of -i -f is inconsistent
Last modified: 2007-11-30 17:11:45 EST
Description of problem:
"mv -i -f" overwrites the destination, no questions asked.
"cp -i -f" asks if it should overwrite.
The handling of -f is inconsistent in coreutils. Yes, this is documented this
way. But it is irritating anyway. Particularly with the aliases set up by Fedora
Version-Release number of selected component (if applicable):
Steps to Reproduce:
The behaviour of these flags (and this difference between cp and mv) is
specified by POSIX.