On Tuesday, 8 August 2017 15.50.28 WEST Dr Eberhard Lisse wrote:
> Hi,
>
> is there a way of changing a lyx file from an older version to the
> current one on the command line, like opening the file, making a
> modification to trigger the saving allowed and saving it under the old
> filename?
>
> find . -name '*lyx' -exec whatever {} \;
>
>
> I wouldn't mind even a Apple Script :-)-O
>
> greetings, el
I do not use macs, last time I did it was running linux as opposed to macos 9.
:-)
In any case the script responsible for converting the lyx files to a newer
format is called lyx2lyx.
If you get its path (e.g. here on linux it is /usr/share/lyx/lyx2lyx/lyx2lyx)
then you can call it
directly. It has several options for command line call and it even supports
compressed lyx files
directly.
I can help further if you need.
Regards,
--
José Abílio