O'Reilly logo

Mac OS X Tiger in a Nutshell by Jason McIntosh, Chuck Toporek, Chris Stone, Andy Lester

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required