Is that a script or binary?
If a script then you can look for where the mv command is and change the options.
Code:
Usage: mv [-fin] SOURCE DEST
or: mv [-fin] SOURCE... DIRECTORY
Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY
-f Don't prompt before overwriting
-i Interactive, prompt before overwrite
-n Don't overwrite an existing file')
These are conflicting options
-f says to not prompt
-i says to prompt
-n says 'do not overwrite' which makes the other 2 moot.
As far as the -t option I guess that some versions of mv may not support that option (mine does) but the real error I see here is
Code:
sh: syntax error: unterminated quoted string
and
(output='mv: can't rename '/opt/app/vcc/pvc/ohdr/instance-0/cucp': Not a directory')