1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-01 23:17:56 +01:00
tldr/pages/common/mv.md
2016-01-08 09:38:59 +01:00

456 B

mv

Move or rename files and directories.

  • Move files in abitrary locations:

mv {{source}} {{target}}

  • Do not prompt for confirmation before overwriting existing files:

mv -f {{source}} {{target}}

  • Do not prompt for confirmation before overwriting existing files but write to standard error before overriding:

mv -fi {{source}} {{target}}

  • Move files in verbose mode, showing files after they are moved:

mv -v {{source}} {{target}}