#!/bin/bash TIME=$(date +%d%m_%H%M%S) echo '
./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