|
From: | Christopher Webster |
Subject: | Re: (somewhat OT:) lilypond calling bash script questions |
Date: | Wed, 09 May 2012 16:31:35 +0200 |
User-agent: | Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 |
Apologies. My misunderstanding. I thought that recursion was the desired behaviour. If not, then something more like this should do it: for d in [0-9]* do if test -d $d then ( cd $d for f in *.ly do lilypond $f done ) fi done Once again, I've typed this straight into the mail client without testing, so the obvious risks are present. All the best Christopher W. |
[Prev in Thread] | Current Thread | [Next in Thread] |