From: Bernhard Urban Date: Wed, 11 Jul 2012 13:49:04 +0000 (+0200) Subject: add counter label X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=sh-gallery.git;a=commitdiff_plain;h=67195d88f873999a45db90899fe9aa3c00a5477f add counter label --- diff --git a/jpg2html.sh b/jpg2html.sh index 0fcb147..e03a434 100755 --- a/jpg2html.sh +++ b/jpg2html.sh @@ -21,6 +21,8 @@ for i in `seq 1 $len `; do printf "next\n" $bn_next >> tmp fi + printf " %s/%s\n" $i $len >> tmp + this=$files[$i]; bn_this=${this/.jpg/} printf "\n" $bn_this.html $bn_this >> all.tmp