mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 15:53:34 +02:00
mv: refresh page (#9772)
This commit is contained in:
parent
c18a7cfeb1
commit
edb5ae2621
1 changed files with 7 additions and 3 deletions
|
@ -3,13 +3,17 @@
|
||||||
> Move or rename files and directories.
|
> Move or rename files and directories.
|
||||||
> More information: <https://www.gnu.org/software/coreutils/mv>.
|
> More information: <https://www.gnu.org/software/coreutils/mv>.
|
||||||
|
|
||||||
- Move a file to an arbitrary location:
|
- Rename a file or directory when the target is not an existing directory:
|
||||||
|
|
||||||
`mv {{source}} {{target}}`
|
`mv {{source}} {{target}}`
|
||||||
|
|
||||||
- Move files into another directory, keeping the filenames:
|
- Move a file or directory into an existing directory:
|
||||||
|
|
||||||
`mv {{source1}} {{source2}} {{source3}} {{target_directory}}`
|
`mv {{source}} {{existing_directory}}`
|
||||||
|
|
||||||
|
- Move multiple files into an existing directory, keeping the filenames unchanged:
|
||||||
|
|
||||||
|
`mv {{source1}} {{source2}} {{source3}} {{existing_directory}}`
|
||||||
|
|
||||||
- Do not prompt for confirmation before overwriting existing files:
|
- Do not prompt for confirmation before overwriting existing files:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue