mirror of https://github.com/CrimsonTome/tldr.git
mv: add move multiple source paths to a directory example (#6004)
parent
b0cedebfc1
commit
bf009c27cc
|
@ -3,10 +3,14 @@
|
||||||
> 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 files in arbitrary locations:
|
- Move a file to an arbitrary location:
|
||||||
|
|
||||||
`mv {{source}} {{target}}`
|
`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:
|
- Do not prompt for confirmation before overwriting existing files:
|
||||||
|
|
||||||
`mv -f {{source}} {{target}}`
|
`mv -f {{source}} {{target}}`
|
||||||
|
|
Loading…
Reference in New Issue