Skip to content

Instantly share code, notes, and snippets.

@meowoodie
Last active September 15, 2015 09:09
Show Gist options
  • Save meowoodie/37adacfb9452b2f1e466 to your computer and use it in GitHub Desktop.
Save meowoodie/37adacfb9452b2f1e466 to your computer and use it in GitHub Desktop.
An amazing tool !

pbcopy

What an amazing tool in MacOSX it is! Today I had a file which I need to copy it's content to my gist editor on web pages. A GUI program would be fine but I prefer to find something cool that can handle this in only one step. And I found a cool thing indeed from [here][].

cat file | pbcopy

the content of file has already been in your clipboard. Enjoy it! [here]: http://superuser.com/questions/113529/how-can-i-load-a-files-contents-into-the-clipboard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment