I have a folder with a bunch of html files numbered sequentially (file1.html, file2.html, etc).
I would like to rename each file according to the tag in each file.
So if file1.html contains
<title>Page Name</title>, I would like the script to rename the file
How do I do this on linux?