mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-22 16:02:46 +00:00
Update cheatsheets
This commit is contained in:
18
osx/pbcopy
Normal file
18
osx/pbcopy
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, osx]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# pbcopy
|
||||
|
||||
> Copy data from `stdin` to the clipboard.
|
||||
> Comparable to pressing Cmd + C on the keyboard.
|
||||
> More information: <https://keith.github.io/xcode-man-pages/pbcopy.1.html>.
|
||||
|
||||
- Place the contents of a specific file in the clipboard:
|
||||
|
||||
`pbcopy < {{path/to/file}}`
|
||||
|
||||
- Place the results of a specific command in the clipboard:
|
||||
|
||||
`find . -type t -name "*.png" | pbcopy`
|
||||
Reference in New Issue
Block a user