|
From: | Ralph Palmer |
Subject: | Re: Updating .ily files |
Date: | Sat, 21 Jul 2012 10:01:09 -0400 |
Ralph Palmer <address@hidden> writes:Yes.
> 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?
scripts/auxiliar/update-with-convert-ly.sh contains the following:
> 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?
### 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
[Prev in Thread] | Current Thread | [Next in Thread] |