3 ms·
I use them from my linux workstation as a poor man's access to apple's universal clipboard. echo -n something | ssh my-mac pbcopy then I can paste on my phone
by kobalsky 5y ago
I use them from my linux workstation as a poor man's access to apple's universal clipboard.
echo -n something | ssh my-mac pbcopy
then I can paste on my phone.
- etra0 5y agoThis is... actually genius. I wonder if that would work with media too, specifying the input type or something, going to test that.
- vletal 5y agoLooks easy. Yet you need to write the JPG to a temp file first since applescript does not seem to be able to parse JPEG without seek(), hence no piping / streaming possible. [1] https://stackoverflow.com/a/30578507/5094001
- bradwood 5y agoTry this: https://github.com/bradwood/glsnip https://github.com/bradwood/glsnip Disclaimer: I wrote it
- kobalsky 5y agosadly, this looks like it doesn't work on iOS, which is my major driver to use pbcopy/pbpaste.