On Sat, Jan 17, 2026 at 2:46 PM David F. <[email protected]> wrote:

> There is the “-o” command line option to set the output file/directory.
> Is there a way to set this option in code?  I’m looking for a way to set a
> default value for this option in code such that it can still be overridden
> from the command line.  (And I specifically am wanting to set this value to
> a directory leaving all the other means for configuring the final output
> name in tact.)
>

Hmm, I'm not sure these will do all you want, but if you have an
explicit \book block in your input file, you can use \bookOutputName or
\bookOutputSuffix.  See:

https://lilypond.org/doc/v2.24/Documentation/notation/output-file-names

--
Knute Snortum

Reply via email to