I'm not sure at all... maybe you can use find?
Something like that:
cd path/to/dir
find -name '*.ly' -exec convert-ly {} \;
Cheers,
Federico
2010/9/3 Ralph Palmer <[email protected]>
> Greetings -
>
> I'm running LilyPond on Ubuntu 9.10 (Karmic Koala).
>
> I'd like to run convert-ly against all of my .ly files that I have created,
> without having to manually change directories to each directory that
> contains a file I want to convert, and then run convert-ly against the files
> in that directory. "convert-ly -e *.ly" works in a single directory, but I
> can't figure out how to get it to work recursively through multiple
> directories. Assuming all the .ly files I have created are in a single
> directory hierarchy, like:
> /SheetMusic
> /Classical
> /Bach
> /ArtOfTheFugue
> /SoloCelloSuites
> /Beethoven
> /Sonatas
> /StringQuartets
> /Mozart
> /FolkMusic
> /NorthAmerican
> /EasternEuropean
> and that the directory structure might change (while always beginning from
> a single parent directory), can anyone either point me in the right
> direction or share a script file (preferably python or bash, since I'm more
> likely to understand what's going on with those) to run convert-ly
> recursively on the files each and all of the directories under /SheetMusic?
>
> I appreciate your time and attention,
>
> Ralph
>
> --
> Ralph Palmer
> Montague City, MA
> USA
> [email protected]
>
> _______________________________________________
> lilypond-user mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user