1#!/bin/bash 2 3cd ../glbench-images/glbench_reference_images 4ls *.png | sort > ../../glbench/glbench_reference_images.txt 5ls *.png | sort > index.html 6 7TYPE=(glbench_knownbad_images glbench_fixedbad_images) 8 9for images in ${TYPE[*]} 10do 11 cd ../../glbench-images/${images} 12 ls */*.png 2>/dev/null | sort > ../../glbench/${images}.txt 13 ls */*.png 2>/dev/null | sort > index.html 14done 15