Here the program should think ahead, so that it won't ask a question that it could already know the answer to. $ mkdir e f g $ touch e/a f/a $ mv -i e/a f/a g mv: overwrite 'g/a'? y mv: will not overwrite just-created 'g/a' with 'f/a'
I'm not sure what it should do. Just don't have it ask things that will turn out different that it could already know would happen. mv (GNU coreutils) 9.4