mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-22 09:03:18 +00:00
Update cheatsheets
This commit is contained in:
25
tldr/soffice
Normal file
25
tldr/soffice
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
Reference in New Issue
Block a user