Bulk file conversion using command line [closed]
I have a large number of old MS Word documents that I would like to convert to odf using the in-built command line. I'm on a Windows 7 64 bit system and have LibreOffice 3.5 installed. From searching the web, it looks like the following command line command should convert all MS Word documents in E:\Docs\In to odf and place them in E:\Docs\Out.
>soffice.exe --headless --convert-to odf --outdir E:\Docs\Out E:\Docs\In\*.doc
However, the command line does nothing. If I specify a path to a specific document, e.g.
>soffice.exe --headless --convert-to odf --outdir E:\Docs\Out E:\Docs\In\a.doc
the document is converted to a.odf and placed into E:\Docs\Out. So, why doesn't the first command work? Is it a bug, or is it just not intended for bulk conversion of all files in a directory?
Update: I added a bug report for this issue, as it does not seem to be the intended behavior. https://www.libreoffice.org/bugzilla/show_bug.cgi?id=48413