tldr/pages/osx/pbcopy.md

216 B

pbcopy

Place standard output in the clipboard.

  • Place the contents of a file in the clipboard:

pbcopy < {{file}}

  • Place the results of a command in the clipboard:

find . -type t -name "*.png" | pbcopy