Name

pbpaste

Synopsis

    pbpaste [-help] [-pboard pasteboard] [-Prefer type]

Retrieve the data from the given pasteboard and print them to standard output. The general pasteboard is used by default. See also pbcopy.

Options

-help

Print a help message.

-pboard pasteboard

Use the pasteboard pasteboard. Possible values are general, ruler, find, or font.

-Prefer type

Try to retrieve data of the given type first. Possible values are ascii, rtf, or ps. If data of the given type are not found, pbpaste retrieves whatever data are there.

Get Unix in a Nutshell, 4th Edition 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.