#!/usr/bin/env bash
for f in 2019*;
do
   title=$( grep -oP '(?<=<title>).*(?=<\/title>)' "$f/index.html" )
   mv -i "$f" "${title}"
done
