vgtiler-crystalis/scripts/generate-html.sh

7 lines
258 B
Bash
Raw Permalink Normal View History

#!/usr/bin/env bash
for i in $(seq 0 1199); do
num=$(printf '%04d' "${i}")
echo "<a data-index=\"${i}\" href=\"images/screenshots/crystalis-${num}.png\"><img alt=\"screenshot ${i}\" src=\"images/screenshots/crystalis-${num}-thumb.png\" /></a>"
done