lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (somewhat OT:) lilypond calling bash script questions


From: Urs Liska
Subject: Re: (somewhat OT:) lilypond calling bash script questions
Date: Tue, 08 May 2012 11:51:07 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120430 Thunderbird/12.0.1

Am 08.05.2012 11:46, schrieb Jonas Olson:
On 2012-05-08 11:31, Urs Liska wrote:
cd 01_01_...
lilypond *.ly
cd ..
cd 01_02_...
..

in a form like

for dir in [get me all directories starting with a number]
do
cd $dir
lilypond *.ly
cd ..
done

Perhaps like so:
for dir in [0-9]*/;
do
cd $dir
lilypond *.ly
cd -
done

Jonas Olson
Thank you very much. That's it!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]