ls *.jpg | awk '1==1 {printf("convert %s -resize 400 -quality 70 %s_preview.jpg\n",$0,$0);}' ls *.jpg | awk '1==1 {printf("\n",$0);}' >00_index.html