mirror of
https://github.com/chubin/cheat.sheets
synced 2024-11-19 03:25:44 +00:00
12 lines
380 B
Plaintext
12 lines
380 B
Plaintext
# libreoffice
|
|
# Office productivity suite
|
|
|
|
# Convert documents to PDF.
|
|
libreoffice --headless --convert-to pdf *.pptx
|
|
|
|
# Save PDFs to a different directory?
|
|
libreoffice --headless --convert-to pdf *.docx --outdir ~/docs/
|
|
|
|
# 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 {//} {}
|