I'm trying to run LibreOffice 5.1.3 from the OS X terminal, to script some conversion tasks.
However whenever I run
soffice, I always get this error:
No Info.plist file in application bundle or no NSPrincipalClass in the Info.plist file, exiting
No matter the directory from where I run it. I've also tried the dir containing LibreOffice.app, or its Contents/ dir (which does contain a Info.plist file, by the way) or the MacOS/ or bin/ dirs within there. All to no avail.
soffice -h does work, it gives me the help with all the command line options.
What am I doing wrong?