2 echo -e "\n\e[01;31m !IMPORTANT! \e[0m"
3 echo "JODConverter needs to connect to a running LibreOffice instance"
4 echo "in order to perform the document conversions."
5 echo "Start the LibreOffice program as service (you see nothing):"
6 echo -e "\e[32m soffice -headless -accept=\"socket,host=127.0.0.1,port=8100;urp;\" -nofirststartwizard \e[0m"
7 echo "Do some work with jodconverter. For example:"
8 echo -e "\e[32m jodconverter spreadsheet.xls spreadsheet.ods \e[0m or"
9 echo -e "\e[32m jodconverter -f pdf *.doc \e[0m to convert all MS Word files in current directory to pdf files."
10 echo "Stop LibreOffice service if no longer required:"
11 echo -e "\e[32m pkill soffice* \e[0m \n"