mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-24 01:03:52 +02:00
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>
This commit is contained in:
parent
2fe846f447
commit
ab94523287
2 changed files with 23 additions and 16 deletions
|
@ -1,20 +1,7 @@
|
|||
# libreoffice
|
||||
|
||||
> CLI for the powerful and free office suite LibreOffice.
|
||||
> More information: <https://www.libreoffice.org/>.
|
||||
> This command is an alias of `soffice`.
|
||||
|
||||
- Open one or more files in read-only mode:
|
||||
- View documentation for the original command:
|
||||
|
||||
`libreoffice --view {{path/to/file1 path/to/file2 ...}}`
|
||||
|
||||
- Display the content of one or more files:
|
||||
|
||||
`libreoffice --cat {{path/to/file1 path/to/file2 ...}}`
|
||||
|
||||
- Print files using a specific printer:
|
||||
|
||||
`libreoffice --pt {{printer_name}} {{path/to/file1 path/to/file2 ...}}`
|
||||
|
||||
- Convert all `.doc` files in current directory to PDF:
|
||||
|
||||
`libreoffice --convert-to pdf *.doc`
|
||||
`tldr soffice`
|
||||
|
|
20
pages/common/soffice.md
Normal file
20
pages/common/soffice.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# 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`
|
Loading…
Add table
Reference in a new issue