2.4 Problems running convert-ly

When running convert-ly in a Command Prompt window under Windows on a file which has spaces in the filename or in the path to it, it is necessary to surround the entire input file name with three (!) sets of double quotes:

convert-ly """D:/My Scores/Ode.ly""" > "D:/My Scores/new Ode.ly"

If the simple convert-ly -e *.ly command fails because the expanded command line becomes too long, the convert-ly command may be placed in a loop instead. This example for UNIX will upgrade all ‘.ly’ files in the current directory

for f in *.ly; do convert-ly -e $f; done;

In the Windows Command Prompt window the corresponding command is

for %x in (*.ly) do convert-ly -e """%x"""

Not all language changes are handled. Only one output option can be specified. Automatically updating scheme and LilyPond scheme interfaces is quite unlikely; be prepared to tweak scheme code manually.


LilyPond — Usage v2.24.3 (stable-branch).