mirror of https://github.com/CrimsonTome/tldr.git
cp: add -t example (#9866)
* cp: add -t example --------- Co-authored-by: Jack Lin <blueskyson1401@gmail.com>pull/23/head
parent
fb7c5c3eae
commit
549933634c
|
@ -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}}`
|
||||
|
|
|
@ -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}}`
|
||||
|
|
Loading…
Reference in New Issue