2014-02-01 02:17:32 +00:00
|
|
|
# pbcopy
|
|
|
|
|
2022-12-04 07:53:34 +00:00
|
|
|
> Copy data from `stdin` to the clipboard.
|
2022-02-14 11:21:43 +00:00
|
|
|
> More information: <https://ss64.com/osx/pbcopy.html>.
|
2014-02-01 02:17:32 +00:00
|
|
|
|
2022-08-19 03:21:09 +01:00
|
|
|
- Place the contents of a specific file in the clipboard:
|
2014-02-01 02:17:32 +00:00
|
|
|
|
2022-08-19 03:21:09 +01:00
|
|
|
`pbcopy < {{path/to/file}}`
|
2014-02-01 02:17:32 +00:00
|
|
|
|
2022-08-19 03:21:09 +01:00
|
|
|
- Place the results of a specific command in the clipboard:
|
2014-02-01 02:17:32 +00:00
|
|
|
|
|
|
|
`find . -type t -name "*.png" | pbcopy`
|