1
0
Fork 0
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:
jack1142 2021-05-21 13:29:18 +02:00 committed by GitHub
parent b0cedebfc1
commit bf009c27cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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}}`