←back to thread

756 points speckx | 2 comments | | HN request time: 0.001s | source
Show context
nberkman ◴[] No.45674846[source]
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
replies(2): >>45675125 #>>45675850 #
1. Tempest1981 ◴[] No.45675125[source]
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
replies(1): >>45675322 #
2. nberkman ◴[] No.45675322[source]
Updated, I appreciate it!