Forked from pankaj28843/Make soffice command of Libreoffice work on Mac OS X.md
Created
June 5, 2023 14:53
-
-
Save rastandy/dffb923ce0a461cf4b7c0585c48c97d9 to your computer and use it in GitHub Desktop.
Revisions
-
pankaj28843 revised this gist
Jun 18, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ ## Quick Start ```bash sudo curl https://gist.github.com/pankaj28843/3ad78df6290b5ba931c1/raw/soffice.sh > /usr/local/bin/soffice && sudo chmod +x /usr/local/bin/soffice ``` ## Create an bash script at `/usr/local/bin/soffice` with following content -
pankaj28843 revised this gist
Jun 18, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ ## Quick Start ```bash sudo curl sudo curl https://gist.github.com/pankaj28843/3ad78df6290b5ba931c1/raw/soffice.sh > /usr/local/bin/soffice && sudo chmod +x /usr/local/bin/soffice ``` ## Create an bash script at `/usr/local/bin/soffice` with following content -
pankaj28843 revised this gist
Mar 31, 2020 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,9 @@ ## Quick Start ```bash sudo curl sudo curl https://gist.github.com/psjinx/3ad78df6290b5ba931c1/raw/soffice.sh > /usr/local/bin/soffice && sudo chmod +x /usr/local/bin/soffice ``` ## Create an bash script at `/usr/local/bin/soffice` with following content ```bash #!/bin/bash @@ -15,7 +15,7 @@ sudo curl sudo curl https://gist.github.com/psjinx/3ad78df6290b5ba931 ## Make it executable ```bash sudo chmod +x /usr/local/bin/soffice ``` ## Usage -
pankaj28843 renamed this gist
Apr 29, 2015 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
pankaj28843 renamed this gist
Apr 29, 2015 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
pankaj28843 revised this gist
Apr 29, 2015 . 2 changed files with 25 additions and 21 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,21 +0,0 @@ This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,25 @@ ## Quick Start ```bash sudo curl sudo curl https://gist.github.com/psjinx/3ad78df6290b5ba931c1/raw/soffice.sh > /usr/loca/bin/soffice && sudo chmod +x /usr/loca/bin/soffice ``` ## Create an bash script at `/usr/loca/bin/soffice` with following content ```bash #!/bin/bash # Need to do this because symlink won't work # It complains about some .plist files /Applications/LibreOffice.app/Contents/MacOS/soffice "$@" ``` ## Make it executable ```bash sudo chmod +x /usr/loca/bin/soffice ``` ## Usage ### Convert an excel file to pdf ```bash soffice --headless --convert-to pdf:"calc_pdf_Export" /path/to/some/.xlsx/file ``` -
pankaj28843 created this gist
Apr 29, 2015 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,21 @@ # Create an bash script at `/usr/loca/bin/soffice` with following content ```bash #!/bin/bash # Need to do this because symlink won't work # It complains about some .plist files /Applications/LibreOffice.app/Contents/MacOS/soffice "$@" ``` # Make it executable ```bash sudo chmod +x /usr/loca/bin/soffice ``` # Usage ## Convert an excel file to pdf ```bash soffice --headless --convert-to pdf:"calc_pdf_Export" /path/to/some/.xlsx/file ``` This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ #!/bin/bash # Need to do this because symlink won't work # It complains about some .plist files /Applications/LibreOffice.app/Contents/MacOS/soffice "$@"