#!/bin/bash # # USAGE: h4g-html-reporter.sh > module.html # # Folders structure: # . # ├── 1.1 # │ ├── 1.png # │ ├── 6.png # ├── 1.2 # │ ├── 2.png # │ ├── 8.png cat << EOF EOF ls -1d */ | cut -d/ -f1 | sort -n | while read activity; do echo "