tldr/pages/osx/pbcopy.md

13 lines
299 B
Markdown
Raw Normal View History

# pbcopy
> Copy data from `stdin` to the clipboard.
2022-02-14 11:21:43 +00:00
> More information: <https://ss64.com/osx/pbcopy.html>.
- Place the contents of a specific file in the clipboard:
`pbcopy < {{path/to/file}}`
- Place the results of a specific command in the clipboard:
`find . -type t -name "*.png" | pbcopy`