Quote:
Originally Posted by hairybiker
If I was better at Linux command scripting then that is what I would do, but since I am still learning it ...
|
Well the hard part about grep is just working out what regex you need to use. If you've sorted out the exact form of the regex that fixes your html, then you just need to use
grep
regex input_html_file >
edited_file
ebook-convert
edited_file output_file.mobi
You can download a version of grep that will work on Windows systems, so you can do the whole thing in a command window on the same VM.