existing MacOS extractors to replace linux-tools
I try to use some tools that come with MacOS.
a) pdf linking existing binary in place into "filters" in my per-user directory ps2pdf -> /usr/bin/pstopdf
not sure if this actually works. I did run the index. Does not look like it. Still, MacOS does have pstopdf which differs in filename only. I believe it did work earlier when I linked it into the app's filters-directory.
b) rtf MacOS provides textutil on the commandline and the versatile TextEdit with GUI. libreoffice to me seems too heavy to use.
per user mimeconf:
text/rtf = exec textutil -convert html -stdout ;mimetype=text/html
per user mimeview:
text/rtf = exec textutil -convert html -stdout ;mimetype=text/html
application/rtf = open -a TextEdit %f
however GUI-preview does not work. It appeas rclrtf.py would use "unrtf" if it existed. Opening with TextEdit does.
c) audio theres /usr/bin/afinfo the -i option displays a lot. There is an option to produce xml-structured output. I have not integrated it yet.
MacOS does contain a lot of simple tools. Sometimes these hide inside Automator-Actions.