I have a program (lilypond) that outputs files with names like:
joy-parts.midi
joy-parts.ps
joy-parts.pdf
joy-parts-1.midi
joy-parts-1.ps
joy-parts-1.pdf
joy-parts-2.midi
...
What I would like to do is write a script to run after running lilypond that would rename (mv) them in mass to be a bit more meaningful:
joy-parts.midi => joy-score.midi
joy-parts.pdf => joy-score.pdf
joy-parts-1.midi=> joy-violin.midi
and so on.
Any ideas?
[plug=shameless]
[/plug]
joy-parts.midi
joy-parts.ps
joy-parts.pdf
joy-parts-1.midi
joy-parts-1.ps
joy-parts-1.pdf
joy-parts-2.midi
...
What I would like to do is write a script to run after running lilypond that would rename (mv) them in mass to be a bit more meaningful:
joy-parts.midi => joy-score.midi
joy-parts.pdf => joy-score.pdf
joy-parts-1.midi=> joy-violin.midi
and so on.
Any ideas?
[plug=shameless]
[/plug]