Shell script that translates a MindMeister RTF file to a HTML formatted file. Therefore it's name: un-rtf MindMeister RTF exports.
Tested successfully on Ubuntu and macOS.
The script
- filters all lines with a 'liXXX' statement at the end
- then replaces the liXXX expressions with tabs (the higher XXX is the more tabs are inserted)
- delete all unnecessary lines and characters
- depending on the number of tabs per line wrap the text with h1, h2, h3 or ul tags
mmunrtf.sh mindmeister_export.rtf > mindmeister_export.html