mirror of https://github.com/CrimsonTome/tldr.git
cp: replace ambiguous text (#12080)
* cp: replace ambiguous text cp -i: text files -> file, more general. --------- Co-authored-by: cyqsimon <28627918+cyqsimon@users.noreply.github.com>pull/23/head
parent
f590e064b0
commit
ffc27d0f8e
|
@ -23,9 +23,9 @@
|
|||
|
||||
`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):
|
||||
- Copy all files with a specific extension to another location, in interactive mode (prompts user before overwriting):
|
||||
|
||||
`cp -i {{*.txt}} {{path/to/target_directory}}`
|
||||
`cp -i {{*.ext}} {{path/to/target_directory}}`
|
||||
|
||||
- Follow symbolic links before copying:
|
||||
|
||||
|
|
Loading…
Reference in New Issue