Skip to content

Commit

Permalink
libreoffice: add page (tldr-pages#4489)
Browse files Browse the repository at this point in the history
  • Loading branch information
qhyun2 authored Oct 6, 2020
1 parent 4497535 commit 145785d
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions pages/linux/libreoffice.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# libreoffice

> CLI for the powerful and free office suite LibreOffice.
> More information: <https://www.libreoffice.org/>.
- Open a space-separated list of files in read-only mode:

`libreoffice --view {{path/to/file1}} {{path/to/file2}}`

- Display the content of specific files:

`libreoffice --cat {{path/to/file1}} {{path/to/file2}}`

- Print files to 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}}`

0 comments on commit 145785d

Please sign in to comment.