Skip to content

Instantly share code, notes, and snippets.

@base698 base698/
Last active Feb 11, 2017

What would you like to do?
Easy copy and paste markdown.
uploaded_name=jt-$(date +"%Y-%m-%d-%s")-sn.png
file=$(ls -tr ~/Desktop/Screen* | tail -n 1)
aws s3 cp "$file" "$s3_path" --acl public-read
echo "\![Screenshot](https://$$uploaded_name)" | pbcopy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.