mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
19 lines
457 B
Markdown
19 lines
457 B
Markdown
# mv
|
|
|
|
> Move or rename files and directories.
|
|
|
|
- Move files in arbitrary 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}}`
|