Home Linux bashOS X
 OS X Books, Links

pbcopy

Copy data to the clipboard

SYNTAX
      pbcopy  [-pboard {general | ruler | find | font}]

Key
   -pboard  Specify a pasteboard to copy to.
            By default the general pasteboard.

Takes the standard input and places it in the specified pasteboard. If no pasteboard is specified, the general pasteboard will be used by default.

The input is placed in the pasteboard as ASCII data unless it begins with the Encapsulated PostScript (EPS) file header or the Rich Text Format (RTF) file header, in which case it is placed in the pasteboard as one of those data types.

"God shows his contempt for wealth by the kind of person he selects to receive it" - Austin O'Malley

Related commands:

pbpaste Paste data from the Clipboard
printenv - Print environment variables

Equivalent BASH command:



Back to the Top

Simon Sheppard
SS64.com