On Fri, May 16, 2014 at 1:32 PM, Tim McNamara <tim...@bitstream.net> wrote:

> Message: 3
> Date: Fri, 16 May 2014 13:32:28 -0500
> From: Tim McNamara <tim...@bitstream.net>
> To: LilyPond Users <lilypond-user@gnu.org>
> Subject: convert-ly question
> Message-ID: <a67c64ad-b814-4dea-b38c-6ccff1ae2...@bitstream.net>
> Content-Type: text/plain; charset=windows-1252
> 
> Is there a syntax for running convert-ly on a directory without having to cd 
> into the directory and invoking
> 
>       convert-ly -e *.ly
> 
> There doesn?t seem to be a recursive option.  Since I?ve got .ly files in 158 
> different directories it?d be really nice to be able to batch update them 
> with something like:
> 
>     convert-ly -e -r *.ly
> 
> instead of having to cd in to 158 directories by hand.  Maybe there is good 
> reason for convert-ly not having this capability.
> 

If you are on a unix machine (Mac, PC with Ubuntu, etc) you could do that by 
issuing the following command in a terminal window:

        find . -name \*.ly -print | xargs -n 1 convert-ly -e

There is also a (possibly free) package for use on Windows machines called 
Cygwin.  It is possible that the above command would work on a Windows machine 
with Cygwin in a command window.

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to