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: Dossy Shiobara
Subject: Re: (somewhat OT:) lilypond calling bash script questions
Date: Wed, 09 May 2012 10:17:02 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:12.0) Gecko/20120428 Thunderbird/12.0.1

This may or may not do exactly what you want:

find [0-9]* -name '*.ly' -print | while read f; do
    cd `dirname $f`
    lilypond `basename $f`
done

On 5/9/12 9:39 AM, Christopher Webster wrote:
How can I sequentially cd to all subdirectories that start with a number?

-- 
Dossy Shiobara         |      "He realized the fastest way to change
address@hidden     |   is to laugh at your own folly -- then you
http://panoptic.com/   |   can let go and quickly move on." (p. 70) 
  * WordPress * jQuery * MySQL * Security * Business Continuity *

reply via email to

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