Software to view links between html files

I’m looking for a piece of free/trial software (only going to need it once) that will allow me to point it to a directory on my PC that is filled with html files that will then spit out a list (either graphical or textual) of where all the hyperlinks in those files are pointing to.

Anybody know of anything that does this?

Thanks in advance

A quick PHP script could do this fairly easily. My favorite web-scraping tool is SimpleHTML DOM:

You could read each HTML file in using PHP, load the content into SimpleHTML DOM, and use a selector for all ‘a’ tags (anchor/link tags). Then loop over each one and write out the ‘href’ attribute.

All of that is “free” and you have complete control over the output too.