carta

midicopy(1) on Linux

The text 423fe27c746c, as Debian 10 (Buster) shipped it.

Copy selected track, channel, time interval of a MIDI file to another MIDI file

Flags it lists

midicopy(1) on Linux now