lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: convert-ly question


From: Patrick or Cynthia Karl
Subject: Re: convert-ly question
Date: Sat, 17 May 2014 11:37:24 -0500

On Fri, May 16, 2014 at 1:32 PM, Tim McNamara <address@hidden> wrote:

> Message: 3
> Date: Fri, 16 May 2014 13:32:28 -0500
> From: Tim McNamara <address@hidden>
> To: LilyPond Users <address@hidden>
> Subject: convert-ly question
> Message-ID: <address@hidden>
> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]