mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
13 lines
335 B
Markdown
13 lines
335 B
Markdown
# pbcopy
|
|
|
|
> 将来自标准输入的数据放入剪贴板。
|
|
> 相当于在键盘上按下 Cmd + C.
|
|
> 更多信息:<https://keith.github.io/xcode-man-pages/pbcopy.1.html>.
|
|
|
|
- 将文件的内容放入剪贴板:
|
|
|
|
`pbcopy < {{路径/到/文件}}`
|
|
|
|
- 将命令的执行结果放入剪贴板:
|
|
|
|
`find . -type t -name "*.png" | pbcopy`
|