From 145785d4627d406b604350e9145974c8d532a100 Mon Sep 17 00:00:00 2001 From: Howard Yun Date: Tue, 6 Oct 2020 11:42:54 -0400 Subject: [PATCH] libreoffice: add page (#4489) --- pages/linux/libreoffice.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pages/linux/libreoffice.md diff --git a/pages/linux/libreoffice.md b/pages/linux/libreoffice.md new file mode 100644 index 000000000..0ad38c4f0 --- /dev/null +++ b/pages/linux/libreoffice.md @@ -0,0 +1,20 @@ +# libreoffice + +> CLI for the powerful and free office suite LibreOffice. +> More information: . + +- 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}}`