1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.zh/osx/pbcopy.md

14 lines
337 B
Markdown
Raw Normal View History

2019-03-13 11:29:10 +08:00
# pbcopy
> 将来自标准输入的数据放入剪贴板。
> 相当于在键盘上按下 `<Cmd c>`.
> 更多信息:<https://keith.github.io/xcode-man-pages/pbcopy.1.html>.
2019-03-13 11:29:10 +08:00
- 将文件的内容放入剪贴板:
2019-03-13 11:29:10 +08:00
`pbcopy < {{路径/到/文件}}`
2019-03-13 11:29:10 +08:00
- 将命令的执行结果放入剪贴板:
2019-03-13 11:29:10 +08:00
`find . -type t -name "*.png" | pbcopy`