diff --git a/sheets/libreoffice b/sheets/libreoffice index 1adf892..28e1a70 100644 --- a/sheets/libreoffice +++ b/sheets/libreoffice @@ -1,9 +1,11 @@ -# Convert documents to PDF +# libreoffice +# Office productivity suite + +# Convert documents to PDF. libreoffice --headless --convert-to pdf *.pptx -# Save them to a different directory? +# Save PDFs to a different directory? libreoffice --headless --convert-to pdf *.docx --outdir ~/docs/ -# Convert files nested inside folders? -# This uses sharkdp/fd, you could use GNU find, xargs etc. +# Convert files nested inside folders? Uses sharkdp/fd, IE: find(1) & xargs(1). fd -e doc -e docx -x libreoffice --headless --convert-to pdf --outdir {//} {}