tldr/pages/osx/pbpaste.md

14 lines
351 B
Markdown
Raw Normal View History

# pbpaste
> Send the contents of the clipboard to `stdout`.
> Comparable to pressing Cmd + V on the keyboard.
> More information: <https://keith.github.io/xcode-man-pages/pbpaste.1.html>.
- Write the contents of the clipboard to a file:
2022-12-04 09:12:49 +00:00
`pbpaste > {{path/to/file}}`
- Use the contents of the clipboard as input to a command:
`pbpaste | grep foo`