pbcopy
Copy data from stdin to the clipboard. tldr-pages
On macOS
macOS
Copy data from stdin to the clipboard. Comparable to pressing <Cmd c> on the keyboard.
Place the contents of a specific file in the clipboard
pbcopy <path/to/fileIdentifyPlace the results of a specific command in the clipboard
find . -type t -name "*.png" | pbcopyIdentify-typetype is (block, char, dir, file, symlink, pipe, socket) toybox-namefilename with wildcards toyboxTrips 1 Sigma rule: informationalFile and Directory Discovery - Linux by Daniil Yugoslavskiy, oscd.community, CheraghiMilad