1
0
Fork 0
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:
Orwa Diraneyya 2023-01-20 14:39:12 +01:00 committed by GitHub
parent c18a7cfeb1
commit edb5ae2621
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,13 +3,17 @@
> Move or rename files and directories.
> 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}}`
- 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: