Home » Questions » Computers [ Ask a new question ]

How to Send the Contents of a Text File to the Clipboard from the Command Line in OS X?

How to Send the Contents of a Text File to the Clipboard from the Command Line in OS X?

I would like to send the contents of a text file to the OS X clipboard.

Asked by: Guest | Views: 298
Total answers/comments: 2
Guest [Entry]

"Nevermind, figured it out.

pbcopy < filename

#copies contents of a text, rtf, or eps file to the clipboard

pbpaste

#pastes content of clipboard to stdout"
Kbutaw [Entry]

order generic atorvastatin 80mg <a href="https://lipiws.top/">order atorvastatin 20mg online</a> order lipitor 80mg generic