mv
[
options
]
sources target
Basic command to move files and directories around on the system or to rename them. mv
works as the following table shows.
--
Use this when one of the names begins with a -
. For compatibility with old programs, a plain -
also works.
-f
Force the move, even if target
file exists; suppress messages about restricted access modes.
-i
Inquire; prompt for a y
(yes) response before overwriting an existing target.