Christopher Webster <christop...@claytonwebster.net> writes:

> A variant of Alex's suggestion (below):
>
> find . -type d -name "[0-9]*" -print | while read dir
> do
>     (
>         cd $dir;
>         for f in *.ly
>         do
>             lilypond $f
>         done
>     )
> done

find is looking _recursively_, arbitrarily deep.  It is the wrong tool
for the job.

-- 
David Kastrup


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to