Name

pbpaste

Syntax

pbpaste[-help] [-Prefer { ascii | rtf | ps }]

Description

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

Options/Usage

-help

Prints a usage statement to standard output.

-Prefer

Specifies the output format to use if the desired format (ASCII, Rich Text Format, or PostScript) is available in the pasteboard.

Location

/usr/bin

Operating System

Mac OS X

Get Mac OS X for Unix Geeks 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.