Comment Comment by birbs On Mac, you can pipe input into pbcopy to add it to your clipboard. cat file.txt | pbcopy This adds the contents of file.txt to your clipboard. parent birbs 5 years ago