added personal scripts

This commit is contained in:
Fabien Benetou
2011-07-12 23:26:49 +02:00
parent 8a3d5f4c40
commit d37fcfdce1
28 changed files with 375 additions and 0 deletions

4
shell_scripts/gallery_making Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/sh
# consider using convert to generate thumbnails and auto-rotate
echo "<html>" > gallery.html && ls *.jpg *.JPG |sort -n| sed "s/\(.*\)/<a href=\"\1\"><img height=\"200px\" src=\"\1\"\/>\1<\/a><br\/>/" > gallery.html && echo "</html>" >> gallery.html