Created
April 19, 2018 01:05
-
-
Save webbedfeet/121388bbeea62d2d853d05992af8d68b to your computer and use it in GitHub Desktop.
Converting *.doc into *.docx recursively in a directory structure
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
for file in $(find . -name "*.doc") | |
do | |
/Applications/LibreOffice.app/Contents/MacOS/soffice --convert-to docx $file | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment