mv: add move multiple source paths to a directory example (#6004)

manned-org^2
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
1 changed files with 5 additions and 1 deletions

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