tldr/pages/osx/pbpaste.md

13 lines
279 B
Markdown

# pbpaste
> Send the contents of the clipboard to standard output.
> More information: <https://ss64.com/osx/pbpaste.html>.
- Write the contents of the clipboard to a file:
`pbpaste > {{file}}`
- Use the contents of the clipboard as input to a command:
`pbpaste | grep foo`