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
[email protected]     |   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 *

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to