I have a workflow that generates HTML files in excess of 10 MB. I would like to split those 10 MB files into smaller files.. more in the 1 MB range.
The HTML file has internal links and anchors in it. So whatever utility I use would need to alter the
<a href="../foo>foo</a> and the
<a id="fooID"></a> appropriately to use the names of the smaller files.
What I'd imagine doing is having some utility break the file at a predetermined location, probably each point.
Does anyone know of a Command Line utility or script exist to automate this?