# shntool [shntool](http://shnutils.freeshell.org/shntool/) is a multi-purpose data processing utility. With it audio files of a wide array of codecs - like [flac](/wiki/flac_%28codec%29.md) - can be edited. ## Setup shntool can be installed on most distributions by installing the `shntool` package. ## Usage ### Splitting Audio Files According to a CUE File An easy way to split audio files according to a [cue file](../cue_sheet.md) is using `shnsplit`. Alternatively the interface `cuebreakpoints` can be used which uses `shnsplit`. Note that some codecs require special setup. These codecs are referenced in the end of this section. The following line of shell command splits an audio file according to a cue file. The `-o` tag specifies the output file format - for example `flac`. ```sh cuebreakpoints '' | shnsplit -o '' '