The mv Command
Apr30
on April 30, 2018
at 4:50 am
Posted In: Uncategorized
The move command can be used to move files around or rename them. There are a lot of flags that you can use with the move command but , they are rarely used by me. I will list a few options below to give you an idea of what you can do with the mv command
SYNOPSIS
mv [OPTION]... SOURCE... DIRECTORY
mv [OPTION]... -t DIRECTORY SOURCE...
Examples
Rename temp.txt to temp.bak
mv temp.txt temp.bak
Move temp.txt into /home/temp/
mv temp.txt /home/temp/
Common Flags
-f Do not prompt before overwriting
-i Do prompt before overwriting
-v Be verbose, explain what is being done
<a href="http://ss64.com/bash/mv.html">Check out all the options available with mv at the full man page</a>