Created
October 8, 2016 05:46
-
-
Save pwgerman/1927d5da307a2f697cbc5beeab7c803f to your computer and use it in GitHub Desktop.
LibreOffice terminal launch command /usr/local/bin/soffice
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Need to do this because symlink won't work | |
# It complains about some .plist files | |
/Applications/LibreOffice.app/Contents/MacOS/soffice "$@" | |
# Example to convert an excel file to pdf | |
# $ soffice --headless --convert-to pdf:"calc_pdf_Export" /path/to/some/.xlsx/ file | |
~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment