TIL: pbcopy

TIL: Discovered a super game changing technique. From command line, you can copy contents of any file to Mac OS clipboard by running this command:

  1. cat yourfilename.txt | pbcopy
  2. Open your other application, press Command+V to paste as normal
  3. Profit. Immensely.

blog comments powered by Disqus


03 October 2018


Make a Donation