Friday, February 11, 2011

pbcopy/pbpaste


Just found this awesome piece of functionality in OS X. From terminal, pipe anything out that would typically go to stdout to pbcopy, and *bam* its in your clipboard! Have something already in clipboard? Type 'pbpaste' in terminal and there you have it!

example: cat file.txt | pbcopy

No comments:

Post a Comment