#!/bin/bash TIME=$(date +%d%m_%H%M%S) echo ' Directory Tree

Directory Tree

./ResultatTest/
' >> ./ResultatTest/Résumé_"${TIME}".html for file in ./ResultatTest/*.html; do RESULT=$(cat $file | grep "Summary") BASEFILE=$(basename $file) LINK="${BASEFILE}" echo "├── ${BASEFILE}'${RESULT}'
" >> ./ResultatTest/Résumé_${TIME}.html done echo '



' >> ./ResultatTest/Résumé_"${TIME}".html