Skip to main content
added 289 characters in body
Source Link
user150109
user150109
$ 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.

$ 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?

$ 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.

Source Link
user150109
user150109

move pdf through clipboard

$ 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?