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


On 05/03/14 10:08, e-letter wrote:
On 04/03/2014, Ed_0 <x97_m@mail.ru> wrote:
Hi,

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:
http://www.mail-archive.com/users%40global.libreoffice.org/msg12280.html
http://www.mail-archive.com/users%40global.libreoffice.org/msg33265.html

What if I want a recursive behaviour?


Try:

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


Hi,

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.

Sincerely,

Ed


-- 
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Context


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.