Skip to content

Instantly share code, notes, and snippets.

@haru067
Last active April 13, 2023 03:22
Show Gist options
  • Save haru067/f37122c9cf3ac714197f8b6eefaba1ac to your computer and use it in GitHub Desktop.
Save haru067/f37122c9cf3ac714197f8b6eefaba1ac to your computer and use it in GitHub Desktop.
curl -d "token=YOUR_TOKEN" "https://slack.com/api/emoji.list" | jq -r '.emoji | keys[] as $k | "\($k) \(.[$k])"' | awk '{split($2, a, "."); print $1"."a[length(a)], $2}' | xargs -P 8 -n2 bash -c 'curl -o $0 $1'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment