Created
April 11, 2014 18:16
-
-
Save nasirkhan/10489404 to your computer and use it in GitHub Desktop.
convert .doc to .html using libreoffice command
This file contains 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
# the following command will convert all the files to HTML which has the DOC extension. | |
find . -name "*.DOC" -type f -print0 |xargs -0 -I {} libreoffice --headless --convert-to html:HTML --outdir /home/nasir/output {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried the command (changing the user name in /home) yet the 'output directory remained empty. oops