>
>  Or even shorter, if slightly more arcane:

find . -name '*ly' -exec sh -c 'ly={}; lilypond -o "${ly%.ly}" "$ly"' \;


You might want to put the dot in your -name argument so you don't match
.ily files.

Also, I don't understand the need for the -o option when you are using the
default name.  Which would boil down to:

find . -name '*.ly' -exec sh -c 'lilypond "{}"' \;



HTH,

David Elaine Alt
415 . 341 .4954                                           "*Confusion is
highly underrated*"
ela...@flaminghakama.com
self-immolation.info
skype: flaming_hakama
Producer ~ Composer ~ Instrumentalist
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to