added a gallery file generator

This commit is contained in:
d3m1g0d
2018-10-10 18:03:56 +02:00
parent 33eada95d9
commit 653b7188c2

14
gallerygen/gallerygen.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/sh
if [ -e imgindex.html ]; then
rm imgindex.html
fi
for i in *.png; do
echo "<img class=\"img-fluid\" src=\"${i}\">" >> imgindex.html
done
for i in *.jpg; do
echo "<img class=\"img-fluid\" src=\"${i}\">" >> imgindex.html
done