Adam Fields (work stuff) RSS

This is my blog about work stuff.

See this post for discussion of what this blog is about and what I do.

I am often available for consulting work, and always happy to discuss it even if I'm currently very busy. Email me or find me on twitter @fields if you need something.

Archive

Oct
8th
2010
Fri
permalink

Piping command line output to the clipboard on OSX

Apparently, you can pipe output to the pbcopy binary, and it will put the output of the command directly on the clipboard. Useful!

I have a ruby script that dynamically generates my email signature to include links to a few of my recent posts, and it’s really handy to be able to copy this directly to the clipboard instead of having to go through a file.

http://www.digitalmediaminute.com/article/2287/copy-to-clipboard-shell-command

Comments (View)

blog comments powered by Disqus