2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-17 09:25:32 +00:00
cheat.sheets/sheets/libreoffice
2018-08-15 14:27:19 +05:30

10 lines
355 B
Plaintext

# Convert documents to PDF
libreoffice --headless --convert-to pdf *.pptx
# Save them 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.
fd -e doc -e docx -x libreoffice --headless --convert-to pdf --outdir {//} {}