First commit, original contents of "bin"-folder.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
echo "<html><head><title>Images</title></head><body>" > index.html
|
||||
for f in `ls`
|
||||
do
|
||||
convert -size 200x400 $f -resize 200x400 thumb-$f
|
||||
echo "<a href=\"$f\"><img src=\"thumb-$f\" /></a>" >> index.html
|
||||
done
|
||||
echo "</body></html>" >> index.html
|
||||
Reference in New Issue
Block a user