12 lines
598 B
Plaintext
12 lines
598 B
Plaintext
Usage: mv [FLAGS] [SOURCE] [DESTINATION]
|
|
Moves/renames a file.
|
|
|
|
FLAGS Specifies extra options when executing the command.
|
|
-o, --overwrite Allows any file that might be at the destination to be overwritten.
|
|
SOURCE Specifies the file to be moved/renamed.
|
|
DESTINATION Specifies the path/filename to move/rename the file to.
|
|
|
|
Examples:
|
|
mv /home/a.txt /b.txt Moves the file at /home/a.txt to /b.txt.
|
|
mv -o c.lua d.txt Renames the file c.lua to another file called d.txt in the shell working directory, overwriting any file that might be there.
|