by fireattack · 1y ago · 0 comments
D:\3\test\a>move 1 ..\1
Overwrite D:\3\test\1? (Yes/No/All):
If anything, it's better than Linux where it will do this silently.e.g. "mv --backup -- ./* wrong-location-that-doesnt-exist" will rename your files in an unhelpful fashion, but won't lose any.
e.g. "mv --no-clobber -- ./* wrong-location-that-doesnt-exist" won't overwrite files.
It's trivial to setup an alias so that your "mv" command will by default not overwrite files. (Personally I'd rather just be wary of those kinds of commands as I might be using a system where I haven't customised aliases)