mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
mv: add move multiple source paths to a directory example (#6004)
This commit is contained in:
parent
b0cedebfc1
commit
bf009c27cc
1 changed files with 5 additions and 1 deletions
|
@ -3,10 +3,14 @@
|
|||
> Move or rename files and directories.
|
||||
> More information: <https://www.gnu.org/software/coreutils/mv>.
|
||||
|
||||
- Move files in arbitrary locations:
|
||||
- Move a file to an arbitrary location:
|
||||
|
||||
`mv {{source}} {{target}}`
|
||||
|
||||
- Move files into another directory, keeping the filenames:
|
||||
|
||||
`mv {{source1}} {{source2}} {{source3}} {{target_directory}}`
|
||||
|
||||
- Do not prompt for confirmation before overwriting existing files:
|
||||
|
||||
`mv -f {{source}} {{target}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue