lilypond-user
[Top][All Lists]
Advanced

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

Re: launch scripts (was: *.mid vs *.midi)


From: Hans Aberg
Subject: Re: launch scripts (was: *.mid vs *.midi)
Date: Sun, 18 May 2008 13:57:10 +0200

On 18 May 2008, at 12:55, fiëé visuëlle wrote:

This is my lily.sh script for OSX:

- deletes previous myname.pdf
- runs lilypond myname.ly
- deletes old mylily.mid and renames myname.midi to myname.mid
- deletes myname.ps
- opens MIDI and PDF

You don't have to remove older files, as they are overwritten. (In OS X before 10.5, Preview and QuickTime are not dynamic, so that they do not see the changes.)

Also, you might put in an error if Lilypond fails
  lilypond $1.ly || {error message; exit 1}
or something.

  Hans






reply via email to

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