mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-01 14:42:29 +00:00
19 lines
460 B
Plaintext
19 lines
460 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, osx]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# pbcopy
|
|
|
|
> Copy data from `stdin` to the clipboard.
|
|
> Comparable to pressing Cmd + C on the keyboard.
|
|
> More information: <https://keith.github.io/xcode-man-pages/pbcopy.1.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`
|