mv
Linux · Files · available in the simulator
What it does
Move (rename) files and directories.
Syntax
mv [opciones] origen... destino
Options and parameters
-iPrompt before overwriting.
mv -i a.txt b.txt-fDo not prompt before overwriting.
-vExplain what is being done.
-nDo not overwrite an existing file.
-uMove only when the source file is newer than the destination file.
-bMake a backup of each existing destination file before overwriting.
Usage examples
mv *.txt ../linuxmv -i sistemas/* windowsmv linux/apuntes.txt linux/RA1.txtmv viejo.txt nuevo.txtmv -i carpeta /tmp/mv -i a.txt b.txt