Skip to content

Instantly share code, notes, and snippets.

@jamesduncombe
Last active September 11, 2020 16:43
Show Gist options
  • Save jamesduncombe/68c57371c9fbd5355b3f54169d536c4d to your computer and use it in GitHub Desktop.
Save jamesduncombe/68c57371c9fbd5355b3f54169d536c4d to your computer and use it in GitHub Desktop.
Letterb.in - Stream downloading attachments
curl -s https://letterbin.io/m/:bin_key/stream --no-buffer \
| jq --unbuffered --raw-output '.attachments[0].data' \
| xargs -I {} open "https://letterbin.io/{}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment