2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-03 15:40:17 +00:00

Merge pull request #29 from dufferzafar/patch-1

Create libreoffice
This commit is contained in:
Igor Chubin 2018-08-16 23:23:33 +03:00 committed by GitHub
commit 285754c651
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

9
sheets/libreoffice Normal file
View File

@ -0,0 +1,9 @@
# 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 {//} {}