Created
August 17, 2016 07:23
-
-
Save alswl/6871b312379f614f7526fe40c1bc4f59 to your computer and use it in GitHub Desktop.
image paste to markdown
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IMAGE_DIR=/Users/example/Dropbox/Public/upload_dropbox/temp | |
URL_PREFIX=http://example.qiniudn.com/upload_dropbox/temp | |
FILE_NAME=paste_`date '+%Y-%m-%dT%H:%M'`.png | |
pngpaste $IMAGE_DIR/$FILE_NAME | |
echo -n "" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
put this script to Alfred workflow.