Batch convert HTML file(s) saved using IE to MHT

Posted by ultrasawblade on Super User See other posts from Super User or by ultrasawblade
Published on 2010-08-27T14:47:14Z Indexed on 2010/12/25 1:56 UTC
Read the original article Hit count: 491

Filed under:
|
|

I have numerous web sites that I've saved over the years. I used Internet Explorer's "Save As..." option to do this. It saves the original page as an .html document, and page requirements in a linked folder with the same name as a document.

I want to convert a bunch of these (over 1000) to the single-file .mht format. This can be done through Internet Explorer or Firefox (using UnMHT extension) by loading the original .html document, then re-saving as an .mht document. It is tedious to do that for the number of files I'm talking about, obviously.

I'm wondering if anyone knows of a utility, command line or otherwise, that can accomplish this.

© Super User or respective owner

Related posts about convert

Related posts about internet-explorer