1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-24 12:35:24 +02:00

cp: add -t example (#9866)

* cp: add -t example

---------

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
This commit is contained in:
Adeepa Gunathilake 2023-04-10 10:49:34 +05:30 committed by GitHub
parent fb7c5c3eae
commit 549933634c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View file

@ -19,6 +19,10 @@
`cp -vR {{path/to/source_directory}} {{path/to/target_directory}}`
- Copy multiple files at once to a directory:
`cp -t {{path/to/destination_directory}} {{path/to/file1 path/to/file2 ...}}`
- Copy text files to another location, in interactive mode (prompts user before overwriting):
`cp -i {{*.txt}} {{path/to/target_directory}}`

View file

@ -19,6 +19,10 @@
`cp -vr {{path/to/source_directory}} {{path/to/target_directory}}`
- Copy multiple files at once to a directory:
`cp -t {{path/to/destination_directory}} {{path/to/file1 path/to/file2 ...}}`
- Copy text files to another location, in interactive mode (prompts user before overwriting):
`cp -i {{*.txt}} {{path/to/target_directory}}`