lilypond-user
[Top][All Lists]
Advanced

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

Re: .mid Instead of .midi


From: Jan Nieuwenhuizen
Subject: Re: .mid Instead of .midi
Date: 01 Aug 2003 12:13:39 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Will Oram <address@hidden> writes:

> Is there a way to automate the output to .mid so I don't have to do this
> manually?

You can 'automate' renaming afterwards.  Make a script my-ly2dvi as
below, stick it in your ~/bin directory and make it executable:

#!/bin/bash
# my-ly2dvi - rename midi files for broken applications

ly2dvi "$@"
echo "Fixing .midi files..."
for i in $(ls -1 *.midi); do mv "$i" $(basename "$i" .midi).MID; done


-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org





reply via email to

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