commands.sh

pbpaste

macos

Send the contents of the clipboard to `stdout`. Comparable to pressing `<Cmd v>` on the keyboard.

More info →

Examples (2)

Write the contents of the clipboard to a file

pbpaste > path/to/file

Use the contents of the clipboard as input to a command

pbpaste | grep search_string
made by @shridhargupta | data from tldr-pages