Belmont is a command line utility that searches for keywords in the text fields of tracked music ("module") files.
It uses libopenmpt, and thus supports the same formats as OpenMPT, including the import-only formats (but not MIDI).
It searches the following fields, or at least, whichever ones are available, depending on the format:
- song name
- artist name
- song message/comments
- instrument names
- sample names
- channel names
- pattern names
belmont FILEPATH KEYWORD1 ...File paths may or may not be case-sensitive depending on your platform. To be safe, always use the correct case.
Keywords are not case-sensitive, unless the environment variable
BELMONT_CASE_SENSITIVE is not empty.
Example:
belmont chris31b.it guitar cymbal "chris jarvis"Searches for the text strings "guitar", "cymbal", and "chris jarvis", within
the file chris31b.it.
- C99 or newer
- GNU C extensions, or the Win32 API
- libopenmpt 0, specifically 0.3.0 or newer