1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/osx/pbpaste.md

14 lines
330 B
Markdown
Raw Normal View History

# pbpaste
> Send the contents of the clipboard to `stdout`.
> Comparable to pressing Cmd + V on the keyboard.
2022-02-14 03:21:43 -08:00
> More information: <https://ss64.com/osx/pbpaste.html>.
- Write the contents of the clipboard to a file:
2022-12-04 10:12:49 +01:00
`pbpaste > {{path/to/file}}`
- Use the contents of the clipboard as input to a command:
`pbpaste | grep foo`