Skip to content

Instantly share code, notes, and snippets.

@WesleyBatista
Forked from antonydevanchi/README.md
Last active November 1, 2021 14:51
Show Gist options
  • Save WesleyBatista/c61e4309856c7277c30b7a724acb60e6 to your computer and use it in GitHub Desktop.
Save WesleyBatista/c61e4309856c7277c30b7a724acb60e6 to your computer and use it in GitHub Desktop.
Download all images from undraw.co/illustrations
# oneliner
for ((i=1;i<55;i++)); do curl -s https://undraw.co/api/illustrations\?page\=$i | jq '.illustrations[] | (.title, .image)' -r -M | sed -e 's/\(.*\)/\1/; s/\ /_/g'|xargs -n2 -L2 bash -c 'curl --silent --output ./imgs/${1,,}.svg $2 > /dev/null' bash;done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment