Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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 {}