|
From: | David Kastrup |
Subject: | Re: (somewhat OT:) lilypond calling bash script questions |
Date: | Wed, 09 May 2012 16:01:54 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) |
Christopher Webster <address@hidden> 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
[Prev in Thread] | Current Thread | [Next in Thread] |