pbcopy Command Examples

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.

pbcopy < {{path/to/file}}

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