Date: prev next · Thread: first prev next last
2014 Archives by date, by thread · List index

On 2014-03-06 05:51, Ed_0 wrote:
On 05/03/14 10:08, e-letter wrote:
On 04/03/2014, Ed_0 <> wrote:

I would like to know, why does libreoffice open up after running in a
terminal "libreoffice --convert-to odt *.doc?

It should not do this. Check your installation again. (E.g:

What if I want a recursive behaviour?


libreoffice --convert-to odt ./*.doc


1) Hmm, I didn't understand those links, the errors displayed are these:

javaldx: Could not find a Java Runtime Environment!

Warning: failed to read path from javaldx

2) I'm not an expert or a sysadmin but I read some books about Linux. ls
and ls . or ls ./ is the same.

3) I tried with - $ libreoffice --headless --convert-to odt $(ls -R)
                - $ libreoffice --headless --convert-to odt < file < ls -R
                - $ libreoffice --headless --convert-to odt $(find . -name "*.docx*")
                - $ libreoffice --headless --convert-to odt $(find . -name "*.docx*")
--outdir dir/

and it didn't work out...

I know very little Bash and some C. I think a script it's a better idea.
It has to execute the libreoffice command in each directory so that the
outdir is "that" directory.

I wish somebody could code it. If not, I will do it myself in the future.



What are you trying to achieve.
I have to run a script to convert all older documents on our server to newer ODF format. I am going to do that by regression into the directory specified as the parameter to the script when called. I haven't got round to it yet as it is not required until I update LO, but is that what you are after.

To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.