$ cat scaswd.pdf| pbcopy
$ pbpaste > astasd.pdf
$ open astasd.pdf
astasd.pdf cannot be opened, but scaswd.pdf is a valid pdf file.
Is there a way I can stick a pdf onto my clipboard and paste it somewhere else?
I want to copy a file from my local computer to a remote one I can only access with ssh, without using intermediary file-hosting servers.
(I can't scp)
For text files copy and pasting between terminals works.
For binary files, like a pdf, I need another solution.