#!/usr/bin/env bash # Use: # Make this file executable, and feed it the results from the Slack emoji URL dump. Files will be downloaded to `output` # chmod +x download.sh # ./download.sh emojiURLs.txt # # Note: This depends on the jq utility for parsing json from the command line - https://stedolan.github.io/jq/ mkdir -p output; jq -r '.[] | "curl -s -o \"output/\(.name)\(.extension)\" \"\(.url)\""' $1 | \ while read -r line; do eval "$line"; done # You can now drag and drop all the emoji files in the output folder to the Buld Emoji Uploader space that you'll see on # the https://.slack.com/customize/emoji page if you've installed the chrome extension # https://chrome.google.com/webstore/detail/slack-emoji-tools/anchoacphlfbdomdlomnbbfhcmcdmjej