lilypond-user
[Top][All Lists]
Advanced

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

Re: Updating .ily files


From: David Kastrup
Subject: Re: Updating .ily files
Date: Sat, 21 Jul 2012 15:31:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

Ralph Palmer <address@hidden> writes:

> Greetings -
>
>
> I'm moving to a new computer, and, in the process, I'm moving from ly
> 2.14.1 to 2.14.2.2. I'm running Ubuntu 12.04. 
>
> How do I update my .ily files? Convert-ly will take care of .ly, but
> will it also update .ily files?

Yes.

> Also, I have a lot (for me) of .ly files in a complex (again, for me)
> file structure. Does anyone have a bash script that will run
> convert-ly against files in multiple directories, or at least
> penetrating to lower directories in the hierarchy?

scripts/auxiliar/update-with-convert-ly.sh contains the following:

### update .ly files
# don't look in . otherwise it'll find stuff in build/ !
find Documentation/ input/ ly/ -name out -prune -o -name 'out-*' -prune \
  -o \( -name '*.ly' -o -name '*.ily' \) -print \
  | xargs $BUILD_DIR/out/bin/convert-ly -e -d

which should be reasonably easy to adapt to your own directory
structure.  You'll like be able to omit the -name ... -prune -o
arguments and just use the rest.  Of course, putting a backup in a
separate directory hierarchy will make excellent sense.

-- 
David Kastrup




reply via email to

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