How to redirect output
ubuntu 16.04 LibreOffice Version: 5.1.6.2 Build ID: 1:5.1.6~rc2-0ubuntu1~xenial2 CPU Threads: 8; OS Version: Linux 4.4; UI Render: default; Locale: en-US (en_US.UTF-8); Calc: group
Two part question. 1) I have the following in a bash script: libreoffice -env:UserInstallation=file://${tmpdir} --headless --nolockcheck --convert-to csv --infilter=CSV:44,34,76,1 --outdir=myDir fileToConvert.xls
Without --outdir it works fine. With it, I get a usage message and "Unknown option: --outdir=myDir". Can someone confirm and report it as a bug? Or tell me what I'm doing wrong? I get the same result from the command line.
2) After converting I've tried redirecting error output to /dev/null, but it fails to redirect. It seems informational messages are sent to stdout, not stderr. Can someone confirm and if so, perhaps report it as a bug? Converting batches of files isn't pretty especially if using cron. Perhaps there is an option to make it run silent?
Thanks in advance!