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
TAKE72K 2024-01-18 09:21:42 +08:00 committed by GitHub
parent f590e064b0
commit ffc27d0f8e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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: