Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #make page:
- echo "Content-type: text/html"
- echo ""
- echo "<!DOCTYPE html><html><head><title>Sho them images</title></head><body>" > g.html
- #touch out.html && rm out.html
- for i in ls *.jpg
- do
- #echo -e "<img src=\"" $i "\">" >> out.html
- echo -e "<img src=\""$i"\" width=\"200\" height=\"200\"><br>" >> g.html
- done
- echo "<br></body></html>" >> g.html
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement