Jose,

thanks, but still no error checking :-)-O

lyx2lyx is a python script, so I am wondering whether there is not
perhaps a way of doing this inside the script, perhaps with something
like --upgrade-in-place (so it's not used by accident) and do this
inside the script?

Don't know python myself, unfortunately :-)-O

el

On 08/08/2017 20:30, José Abílio Matos wrote:
[...]
> Using bash in one line we have (backup file.lyx -> file.old.lyx):
> 
>  
> 
> for lfile in $(find . -name '*lyx' -print); do
> ofile=${lfile%%.lyx}.old.lyx; lyx2lyx < $ofile -o $lfile; done
[...]

Reply via email to