1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 04:02:09 +02:00
tldr/pages/osx/pbcopy.md
Sam Tay 278ac3f439
pbcopy: update page (#8372)
* pbcopy: fix stdin/stdout mixup in description

* Update pages/osx/pbcopy.md

Co-authored-by: Adrien Thebo <adrien@lagrange-automation.io>

* Update pages/osx/pbcopy.md

Co-authored-by: Emily Grace Seville <emilyseville7cf@gmail.com>

* Conform pbcopy page to tldr standards

Co-authored-by: Adrien Thebo <adrien@lagrange-automation.io>
Co-authored-by: Emily Grace Seville <emilyseville7cf@gmail.com>
2022-08-19 12:21:09 +10:00

297 B

pbcopy

Copy data from stdin to the clipboard. 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