Hi,
Am 2012-05-08 11:31, schrieb Urs Liska:
I would like to write a script that allows me to compile all .ly
files in one run.
[...]
in a form like
for dir in [get me all directories starting with a number]
do
cd $dir
lilypond *.ly
cd ..
done
This would be a bash solution:
for dir in $(find . -maxdepth 1 -type d -regex "^\.\/[0-9].*$"); do
cd {dir}
lilypond *.ly
cd ..
done
--
Best regards Jan
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user