Hi,
You can do the same using the Terminal in Mac OSX (tested using Mac OSX 10.8.2).
- Open Terminal
- cd to your LibreOffice installation like:
cd /Applications/LibreOffice.app/Contents/MacOS
- then you can run the same command as you used in Linux:
./soffice --headless --convert-to
Example to convert all odt files to pdf in my Downloads folder:
./soffice --headless --convert-to pdf ~/Downloads/*.odt
- To specify an output folder you can add the --outdir option
For example:
./soffice --headless --convert-to pdf --outdir /home/user ~/Downloads/*.odt
-
For other options or help you can use:
./soffice --help
Kind regards,
Joren