Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Nice! Tangentially related: I built a (MacOS only) tool called clippy to be a much better pbcopy. It was just added to homebrew core. Among other things, it auto-detects when you want files as references so they paste into GUI apps as uploads, not bytes.

  clippy image.png  # then paste into Slack, etc. as upload

  clippy -r         # copy most recent download

  pasty             # copy file in Finder, then paste actual file here
https://github.com/neilberkman/clippy / brew install clippy


Adding the word "then" to your first comment would have helped me: (lacking context, I thought the comments explained what the command does, as is common convention)

  clippy image.png   # then paste into Slack, etc. as upload
Also:

  pasty              # paste actual file, after copying file in Finder


Updated, I appreciate it!


Awesome. Gonna check this out.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: