Created
June 14, 2014 20:53
-
-
Save gberger/b0eb143d41a0b57070a2 to your computer and use it in GitHub Desktop.
Batch convert DOC to PDF
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Requires LibreOffice | |
# Use `find` if you need something more advanced | |
files=`echo *.doc` | |
for file in $files; do lowriter --convert-to pdf:writer_pdf_Export $file; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment