Skip to content

Instantly share code, notes, and snippets.

@chakrit
Last active December 19, 2015 01:19
Show Gist options
  • Save chakrit/5875020 to your computer and use it in GitHub Desktop.
Save chakrit/5875020 to your computer and use it in GitHub Desktop.
#!/bin/bash
seq 100 999 | while read num; do
URL="http://qrfree.kaywa.com/?l=1&s=8&d=$num"
NAME="qr-$num.png"
sleep 1
echo "Downloading $NAME..."
curl -s "$URL" > $NAME
open $NAME
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment