This is meant as a simple way to extract raw text contents from different file formats to be used in search indexing. It is not meant to display contents true to their orignal layout.
It currently supports the following file formats:
pdf
-- PDF using ledongthuc/pdfdocx
-- Microsoft Word, naive extraction from the xmlodt
-- Open/Libreoffice Document, naive extraction from the xmlpptx
-- Microsoft Powerpoint, naive extraction from the xmlodp
-- Open/Libreoffice Presentation, naive extraction from the xml
gotextextract [--type <type>] <file>
Simply give the file to extract as argument. If no file type (see above) is given, it will try to guess it from the file extension. The extracted text will be printed to stdout.