mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
19 lines
451 B
Plaintext
19 lines
451 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, osx]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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/pbcopy.1>.
|
|
|
|
- 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}}`
|