First time here? Check out the FAQ!
0 down vote favorite You can't vote for your own post. (click on this box to dismiss)
I am trying to convert several thousand documents from LWP (Lotus Word Pro) to DOC. When the converting process gets to around 229 documents converted it just quits.
The terminal lines I am using to convert this are:
soffice --headless --convert-to doc --outdir /home/cyrex/work/biopsias/2007 *.lwp
or
libreoffice --headless --convert-to doc --outdir /home/cyrex/work/biopsias/2007 *.lwp
both work but up to 229. I have 60K documents to convert I doing them 200 at a time would take A LOT of time.
Converting them to ODT also has the same problem.
I have LibreOffice version 3.5 in Ubuntu 12.04
It could be a shell limitation. I tried a set of 500 files using your command line and it stopped at 248 conversions. I then tried using xargs and all 500 converted. Here is the command converted to your case. Test before committing to all 60,000 files.
find . -name "*.lwp" -type f -print0 |xargs -0 -I {} libreoffice --headless --convert-to doc --outdir /home/cyrex/work/biopsias/2007 {}
LibreOffice is made available by volunteers around the globe, backed by a charitable Foundation. Please support our efforts: Your donation helps us to deliver a better product!
Asked: 2012-08-02 18:54:17 +0200
Seen: 177 times
Last updated: Aug 02 '12
How to add Times New Roman font?
Can't install LibreOffice 3.6 / 4.0 on Windows 8 x64
Custom Numbered Lists with sub/superscripts
LibreOffice 4.0 looks ugly in KDE
What is the status of LibreOffice online
help language doesn't fit my actual install
When we'll finally see a new UI?
Permanently set default page style
How do you get into Design Mode on an existing form? [closed]
Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.
I think @w_whalley is right pointing to shell limitations. Another idea: does the conversion stop while working on a certain file? Or does the problem occur independent of the individual files to convert?
tohuwawohu ( 2012-08-03 17:45:57 +0200 )edit