Am 08.08.2017 um 17:07 schrieb José Abílio Matos <jama...@lyx.org>:
> 
> 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.

On Mac you may have multiple LyX applications on your system.
The standard location is the folder /Applications and the name
is LyX.app. There it is located in Contents/Resources/lyx2lyx/.

So, the standard is 
/Applications/LyX.app/Contents/Resources/lyx2lyx/lyx2lyx

But the application bundle is completely relocatable. It is up
to the owner of the Mac to know where the „current“ LyX.app is
located.

Stephan

> 
> I can help further if you need.
> 
> Regards,
> -- 
> José Abílio

Reply via email to