lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: convert-ly


From: Brian Barker
Subject: Re: convert-ly
Date: Thu, 03 Jun 2021 08:20:16 +0100

At 07:22 03/06/2021 +0200, Hans Aikema wrote:
the convert-ly script does not interpret wildcards, but requires the file explicitly. The way you call it makes it look for a file that is named *.ly (which can never be present as * is not an allowed character for a filename)

Thanks for this.

As documented on
https://lilypond.org/doc/v2.22/Documentation/usage/invoking-convert_002dly
you need to use the 'forfiles' windows command to run the conversion for multiple files using a wildcard:

forfiles /s /M *.ly /c "cmd /c convert-ly.py -e @file"

But that resource claims that this command is required only for searching subdirectories of the current directory, and that
convert-ly.py -e *.ly
works for all .ly files in a directory.

Can we agree, then, that this is wrong and that (in Windows) the forfiles command but without the /s parameter is required even for handling all .ly files in a single directory? Oh, and that the copy of convert-ly installed in version 2.22 in Windows has to have its name corrected (to convert-ly.py) for anything to work?

Brian Barker



reply via email to

[Prev in Thread] Current Thread [Next in Thread]