Created
April 7, 2018 14:51
-
-
Save brittbinler/4207e321e6ad6a71a1f622b12beddd0e to your computer and use it in GitHub Desktop.
Batch convert files in a directory from .docx 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
| # Install pandoc before running | |
| find ./ -iname "*.docx" -type f -exec sh -c 'pandoc "${0}" -o "${0%.docx}.pdf"' {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment