I have a batch file that, among other things, uses the command
mmv to rename some files. The relevant line is like this:
mmv "$BASEDIR/files/*.txt" "$BASEDIR/files/#1.strings"
In essence it works, but the problem is that it keeps asking me for confirmation to overwrite files when they happen to already exist. I want it to just go ahead and do that without confirmation, so I checked the man page for
mmv, and it says to simply use the
-o option, like this:
mmv -o "$BASEDIR/files/*.txt" "$BASEDIR/files/#1.strings"
It's not making any difference, though. Every time I run my script, when it comes to the
mmv part, it starts asking me confirmation.
Why is the
-o option not doing its job, and how do I get
mmv to overwrite without asking confirmation?