Ask Your Question

Batch headless conversion from doc to docx

asked 2015-04-22 20:29:19 +0200

pyperdown gravatar image

Running into something odd. I have written a script to recursively find and convert all doc files to docx (the microsoft tool is a joke). Works pretty well unless the path length is rather long.

for example,

libreoffice4.4 --headless --convert-to docx --outdir /u/user/doc_folder /u/user/doc_folder/old_office/file.doc

works fine.


libreoffice4.4 --headless --convert-to docx --outdir /net/scale/fs0/shares/share_name/user/doc_folder /net/scale/fs0/shares/share_name/user/doc_folder/old_office/file.doc

fails with 0x11b error

string length limitation? problem with nfs mounts?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2015-04-27 08:03:06 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hi, Any update?

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-04-22 20:29:19 +0200

Seen: 3,090 times

Last updated: Apr 27 '15