2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-19 03:25:44 +00:00
cheat.sheets/sheets/libreoffice

10 lines
355 B
Plaintext
Raw Normal View History

2018-08-15 08:57:19 +00:00
# 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 {//} {}