1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 06:22:07 +02:00

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>
This commit is contained in:
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

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: