OSx pipe output to clipboard
14 Mar 2012Here’s a handy way to pipe the output of a command right into the clipboard in terminal
Example:
`git log --author 'Mark Nadig' --since '1 day ago' | pbcopy`
source: http://www.norwinter.com/2009/07/27/pipe-into-the-clipboard-on-os-x-pbcopy/