Мануалы и справочники OS X
pbpaste

Команда pbpaste: опции, ключи и примеры использования

pbpaste

Send the contents of the clipboard to standard output.

  • Write the contents of the clipboard to a file:

pbpaste > {{file}}

  • Use the contents of the clipboard as input to a command:

pbpaste | grep foo