In DOS you can use this: @echo off setlocal enableDelayedExpansion
set MYDIR=C:\bin for /F %%x in ('dir /B/D %MYDIR%') do ( echo File: %%x ) Knute Snortum (via Gmail) On Thu, Mar 19, 2015 at 1:18 PM, Urs Liska <u...@openlilylib.org> wrote: > > > Am 19.03.2015 um 21:14 schrieb Noeck: > >> Hi Craig, >> >> on which OS? On Linux (bash) you can do this: >> >> for f in folder/*.xml; do musicxml2ly $f; done >> >> where folder is your folder containing the xml files. >> > > or simply > > for f in *.xml > when you are already in the same folder. > (I think this should equally work on a Mac). > > Urs > > > HTH, >> Joram >> >> >> Is there a command for converting a whole folder of xml files to >>> lilypond, rather than doing them one by one? >>> >> _______________________________________________ >> lilypond-user mailing list >> lilypond-user@gnu.org >> https://lists.gnu.org/mailman/listinfo/lilypond-user >> > > > _______________________________________________ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user >
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user