
##copia tutto a partire da echo ed esegui dentro la dir che contiene le foto


echo '<html><head><style>img {max-width: 200px; height: auto; margin: 5px;} body {background: #000; text-align: center;}</style></head><body>' > index.html
for img in *.{jpg,jpeg,png,gif,JPG,JPEG,PNG,GIF}; do [ -e "$img" ] && echo "<img src=\"$img\">" >> index.html; done
echo '</body></html>' >> index.html

