pbcopy
Copies data to the macOS clipboard.
Syntax
$pbcopy [OPTIONS]
Examples
Examples
$echo 'Hello' | pbcopy
Examples
$cat file.txt | pbcopy
Typical use cases
pbcopy --help
man pbcopy
Note
macOS-specific clipboard tool. Works with pbpaste.
Export