get_emojis_mastodon.sh: download in parallel

This commit is contained in:
Kay Faraday 2022-06-11 02:08:40 +00:00
parent f552fdd321
commit dc2544660c
1 changed files with 2 additions and 3 deletions

View File

@ -55,6 +55,5 @@ for ((i=0; i<${#shortcodesArray[@]}; i++)); do
echo "Skipping $filename because it already exists"
continue
fi
echo "Downloading $filename"
curl -s "$url" -o "$emojiFolder/$filename"
done
curl -s "$url" -o "$emojiFolder/$filename" &
done