Name

pbpaste

Synopsis

pbpaste[-help] [-pboard ( general | find | font | ruler }]
[-Prefer { ascii | rtf | ps }]

Prints the contents of the Clipboard to standard output. The combination of pbcopy and pbpaste may be an interesting tool to use in scripting. However, the Clipboard can be modified by other processes at any time, which limits the tool’s actual usefulness.

Options

-help

Print a usage statement to standard output.

-Prefer format

Specify the output format to use if the desired format (ascii, rtf, or ps for ASCII, Rich Text Format, or PostScript, respectively) is available in the Clipboard.

-pboard name

Specify the name of the pasteboard to use: either the name used for general copying and pasting or a special-purpose pasteboard used for holding find, font, or ruler settings. Defaults to general.

Get Mac OS X Tiger in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.