<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Seems I have found a solution: ff to start an instance of LO,
conversion works fine.<br>
</p>
<br>
<div class="moz-cite-prefix">17.06.18 16:12, Nazarii пише:<br>
</div>
<blockquote type="cite"
cite="mid:d07b6005-393c-5acd-8e5f-c550bb633bc8@gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<p><span style="font-family: sans-serif;">Hi Mike,<br>
</span></p>
<p><i style="font-family: sans-serif;">libreoffice6.0 --writer
"$f"</i><span style="font-family: sans-serif;"> opens an .odt
file. When it closed, </span><i>soffice --convert-to
html:HTML:EmbedImages "$f"</i> throws me an error (have
checked with a single file).<span style="font-family:
sans-serif;"></span></p>
<br>
<div class="moz-cite-prefix">17.06.18 15:00, Kaganski Mike пише:<br>
</div>
<blockquote type="cite"
cite="mid:AM4PR1001MB14261B92F29DA506191B8359D6720@AM4PR1001MB1426.EURPRD10.PROD.OUTLOOK.COM">
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
<div dir="auto">
<div>Hi <span style="font-family: sans-serif;">Nazarii,</span><br>
<div class="gmail_extra"><br>
<div class="gmail_quote">17 Июн 2018 г. 17:11 пользователь
Nazarii <a class="moz-txt-link-rfc2396E"
href="mailto:nazariy.ritter@gmail.com"
moz-do-not-send="true"><nazariy.ritter@gmail.com></a>
написал:<br type="attribution">
<blockquote class="quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<p>Hello everybody,</p>
<p>Sorry for disturbing you but I'm in need of some
help (was trying to Google but without much
success).</p>
<p>Given:</p>
<ul>
<li>Lubuntu 18.04</li>
<li>LO 6.0</li>
</ul>
<p>I have a bunch of odt files (in one folder). I
need to convert all of them to html files with
embedded images. I was trying to use a code like
the following:</p>
<p><i>for f in *.odt; do echo "Processing $f";
libreoffice6.0 --writer "$f"; soffice
--convert-to html:HTML:EmbedImages "$f"; done</i></p>
</div>
</blockquote>
</div>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">What the <i style="font-family: sans-serif;">libreoffice6.0
--writer "$f"</i><span style="font-family: sans-serif;">
is about? Doesn't it work without it?</span></div>
<div dir="auto">
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<p>but without success. Maybe somebody of you can
help me to figure out how to write an appropriate
code?</p>
<p>Thank you in advance!<br>
</p>
<br>
</div>
</blockquote>
</div>
<br>
</div>
<div class="gmail_extra" dir="auto">-- </div>
<div class="gmail_extra" dir="auto">Best regards, Mike
Kaganski. </div>
</div>
</div>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>