Re: convert-ly question

2014-05-18 Thread David Kastrup
Martin Tarenskeen writes: > On Sun, 18 May 2014, Graham King wrote: > >> On Sun, 18 May 2014 08:38:09 +0200 (CEST) Martin Tarenskeen wrote: >> > Luckily I don't need this kind of commandline virtuosity. I >>think I >> > can do what I need with one of the first and easiest >>sug

Re: convert-ly question

2014-05-18 Thread Martin Tarenskeen
On Sun, 18 May 2014, Graham King wrote: On Sun, 18 May 2014 08:38:09 +0200 (CEST) Martin Tarenskeen wrote: > Luckily I don't need this kind of commandline virtuosity. I think I > can do what I need with one of the first and easiest suggestions > > convert-ly -e **/*.ly One

Re: convert-ly question

2014-05-18 Thread Graham King
On Sun, 18 May 2014 08:38:09 +0200 (CEST) Martin Tarenskeen wrote: > > Luckily I don't need this kind of commandline virtuosity. I think I > > can do what I need with one of the first and easiest suggestions > > > > convert-ly -e **/*.ly > I'm glad that you have a solution that works for you. S

Re: convert-ly question

2014-05-18 Thread David Kastrup
Martin Tarenskeen writes: > On Sun, 18 May 2014, Graham King wrote: > >> If you're going to use xargs, be careful of .ly files containing whitespace >> in the filename.  The GNU implementations of find and xargs support an >> option for that: >> >> find . -name \*.ly -print0 | xargs -0 -n 1 conve

Re: convert-ly question

2014-05-17 Thread Martin Tarenskeen
On Sun, 18 May 2014, Graham King wrote: If you're going to use xargs, be careful of .ly files containing whitespace in the filename.  The GNU implementations of find and xargs support an option for that: find . -name \*.ly -print0 | xargs -0 -n 1 convert-ly -e The commandline solution for t

Re: convert-ly question

2014-05-17 Thread Graham King
On Sat, 2014-05-17 at 11:37 -0500, Patrick or Cynthia Karl wrote: > > 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

Re: convert-ly question

2014-05-17 Thread David Kastrup
Tim McNamara writes: > On May 17, 2014, at 11:41 AM, Malte Meyn wrote: > >> On 17.05.2014 18:20, Tim McNamara wrote: >>> >>> On May 16, 2014, at 1:54 PM, David Kastrup wrote: >>> Tim McNamara writes: > Is there a syntax for running convert-ly on a directory without having

Re: convert-ly question

2014-05-17 Thread Tim McNamara
On May 17, 2014, at 11:41 AM, Malte Meyn wrote: > On 17.05.2014 18:20, Tim McNamara wrote: >> >> On May 16, 2014, at 1:54 PM, David Kastrup wrote: >> >>> Tim McNamara writes: >>> Is there a syntax for running convert-ly on a directory without having to cd into the directory and in

Re: convert-ly question

2014-05-17 Thread Malte Meyn
On 17.05.2014 18:20, Tim McNamara wrote: On May 16, 2014, at 1:54 PM, David Kastrup wrote: Tim McNamara writes: 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 opti

Re: convert-ly question

2014-05-17 Thread Patrick or Cynthia Karl
On Fri, May 16, 2014 at 1:32 PM, Tim McNamara wrote: > Message: 3 > Date: Fri, 16 May 2014 13:32:28 -0500 > From: Tim McNamara > To: LilyPond Users > Subject: convert-ly question > Message-ID: > Content-Type: text/plain; charset=windows-1252 > > Is there a syntax

Re: convert-ly question

2014-05-17 Thread David Kastrup
Tim McNamara writes: > On May 16, 2014, at 1:54 PM, David Kastrup wrote: > >> Tim McNamara writes: >> >>> 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 recur

Re: convert-ly question

2014-05-17 Thread Tim McNamara
On May 16, 2014, at 1:54 PM, David Kastrup wrote: > Tim McNamara writes: > >> 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

Re: convert-ly question

2014-05-17 Thread David Kastrup
Tim McNamara writes: > 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 a

Re: convert-ly question

2014-05-16 Thread Ralph Palmer
Wow! Thanks, Phil! Ralph On Fri, May 16, 2014 at 6:27 PM, Phil Burfitt wrote: > Sorry, correction.. > >for /F "delims=" %n in ('dir /b /s *.ly') do convert-ly -e "%n" > > > Phil. > > > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > h

Re: convert-ly question

2014-05-16 Thread Phil Burfitt
Sorry, correction.. for /F "delims=" %n in ('dir /b /s *.ly') do convert-ly -e "%n" Phil. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: convert-ly question

2014-05-16 Thread Phil Burfitt
Hi Tim, 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

Re: convert-ly question

2014-05-16 Thread Martin Tarenskeen
On Fri, 16 May 2014, Malte Meyn wrote: Under Linux try: find . -name '*.ly' -exec convert-ly -e '{}' \; Or, shorter, but doesn’t work by default with all shells (for example bash needs “shopt -s globstar” in the .bashrc): convert-ly -e **/*.ly Thanks for the hint, I didn't know that "sh

Re: convert-ly question

2014-05-16 Thread Malte Meyn
Under Linux try: find . -name '*.ly' -exec convert-ly -e '{}' \; Or, shorter, but doesn’t work by default with all shells (for example bash needs “shopt -s globstar” in the .bashrc): convert-ly -e **/*.ly On 16.05.2014 20:32, Tim McNamara wrote: Is there a syntax for running convert-ly on a

Re: convert-ly question

2014-05-16 Thread Ralph Palmer
On Fri, May 16, 2014 at 2:32 PM, Tim McNamara wrote: > 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 directo

convert-ly question

2014-05-16 Thread Tim McNamara
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 so