2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-17 09:25:32 +00:00
cheat.sheets/sheets/libreoffice

12 lines
380 B
Plaintext
Raw Normal View History

# libreoffice
# Office productivity suite
# Convert documents to PDF.
2018-08-15 08:57:19 +00:00
libreoffice --headless --convert-to pdf *.pptx
# Save PDFs to a different directory?
2018-08-15 08:57:19 +00:00
libreoffice --headless --convert-to pdf *.docx --outdir ~/docs/
# Convert files nested inside folders? Uses sharkdp/fd, IE: find(1) & xargs(1).
2018-08-15 08:57:19 +00:00
fd -e doc -e docx -x libreoffice --headless --convert-to pdf --outdir {//} {}