On 05/03/14 10:08, e-letter wrote:
> On 04/03/2014, Ed_0 <[email protected]> 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: [email protected]
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