added a gallery file generator
This commit is contained in:
14
gallerygen/gallerygen.sh
Executable file
14
gallerygen/gallerygen.sh
Executable 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
|
||||
|
||||
Reference in New Issue
Block a user