diff --git a/pages/linux/libreoffice.md b/pages/linux/libreoffice.md new file mode 100644 index 0000000000..0ad38c4f0c --- /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}}`