cp: add -t example (#9866)

* cp: add -t example

---------

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
pull/23/head
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}}`