Having trouble finding a word in multiple files

Robert Heller heller at deepsoft.com
Sun Jun 14 21:09:31 UTC 2020


At Mon, 15 Jun 2020 01:54:18 +1000 kauer at biplane.com.au, "Ubuntu user technical support,  not for general discussions" <ubuntu-users at lists.ubuntu.com> wrote:

> 
> On Mon, 2020-06-15 at 01:34 +1000, Karl Auer wrote:
> > I have a better idea - convert them to genuinely open formats. ODF is
> > the prime candidate.
> 
> Oh and worth mentioning because a lot of people don't know you can do
> this, but it's very cool, here's how you can convert all those DOCX
> files:
> 
>    soffice --headless --convert-to odt *.docx

*Warning*: The "--headless" option to LibreOffice is misleading.  It *still* 
needs an xserver, even with the --headless option.  The above command will 
fail if run in a truely non-X11 environment (ev as a cron job, batch job, 
etc.).

> 
> It doesn't actually convert the file; it creates a copy with the same
> name but a different extension. You can convert to any format
> LibreOffice can output, from any format it can read.
> 
> Regards, K.
> 

-- 
Robert Heller             -- 978-544-6933 Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
heller at deepsoft.com       -- Webhosting Services
                                                                                               




More information about the ubuntu-users mailing list