From 12d465e69bb9fd6cc0fc53a1d3e0714fe8862aa0 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Thu, 13 Feb 2014 21:42:29 +0100 Subject: split-kochabo.sh: merge index.html generation Signed-off-by: Florian Pritz --- split-kochabo.sh | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 79 insertions(+), 2 deletions(-) (limited to 'split-kochabo.sh') diff --git a/split-kochabo.sh b/split-kochabo.sh index 8f30f32..16a5b6c 100755 --- a/split-kochabo.sh +++ b/split-kochabo.sh @@ -44,5 +44,82 @@ for file; do done done -cd extracted -generate-kochabo-index.sh +output="index.html" + +cat <"$output" + + + + + + + + + + + Übersicht
+EOF + +for i in extracted/*.jpg; do + n=${i%.jpg} + echo "

$n

" >> "$output" +done + +cat <>"$output" + Übersicht
+ + +EOF -- cgit v1.2.3-24-g4f1b