Files
wechat-dump/wechat/static/smileys/down2.sh
T
2018-08-26 01:21:45 -07:00

17 lines
421 B
Bash
Executable File

#!/bin/bash -e
# File: down2.sh
# Date: Wed Dec 24 22:31:37 2014 +0800
# Author: Yuxin Wu
# This script is used to download unicode emoji
emojis=$(cat ../unicode-smiley.json | grep -o '\\ue[^"]*' | cut -c 3-)
for i in $emojis; do
size=$(wc -c "$i.png" 2>/dev/null | cut -f 1 -d ' ')
if [[ -n "$size" && $size -ge 0 ]]; then
echo "File $i Already There!"
else
wget http://www.easyapns.com/emoji/$i.png &
fi
done