1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-31 16:13:45 +02:00
tldr/pages/common/soffice.md
Managor ab94523287
libreoffice: convert to alias, soffice: add page (#17698)
Converted libreoffice.md to alias for soffice.md

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2025-08-16 11:13:57 -07:00

563 B

soffice

CLI for the powerful and free LibreOffice suite. More information: https://help.libreoffice.org/latest/en-US/text/shared/guide/pdf_params.html.

  • Open one or more files in read-only mode:

soffice --view {{path/to/file1 path/to/file2 ...}}

  • Display the content of one or more files:

soffice --cat {{path/to/file1 path/to/file2 ...}}

  • Print files using a specific printer:

soffice --pt {{printer_name}} {{path/to/file1 path/to/file2 ...}}

  • Convert all .doc files in the current directory to PDF:

soffice --convert-to pdf *.doc