HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

shnsplit — Splits audio files according to a `.cue` file. More information: <http://shnutils.freeshell.org/shnt

Submitted by: @import:tldr-pages··
0
Viewed 0 times
accordingcommandfilesclisplitsaudiocueshnsplit
linux

Problem

How to use the shnsplit command: Splits audio files according to a .cue file. More information: <http://shnutils.freeshell.org/shntool/>.

Solution

shnsplit — Splits audio files according to a .cue file. More information: <http://shnutils.freeshell.org/shntool/>.

Split a .wav + .cue file into multiple files:
shnsplit -f {{path/to/file.cue}} {{path/to/file.wav}}


Show supported formats:
shnsplit -a


Split a .flac file into multiple files:
shnsplit -f {{path/to/file.cue}} -o flac {{path/to/file.flac}}


Split a .wav file into files of the form "track-number - album - title":
shnsplit -f {{path/to/file.cue}} {{path/to/file.wav}} -t "%n - %a - %t"

Code Snippets

Split a `.wav` + `.cue` file into multiple files

shnsplit -f {{path/to/file.cue}} {{path/to/file.wav}}

Show supported formats

shnsplit -a

Split a `.flac` file into multiple files

shnsplit -f {{path/to/file.cue}} -o flac {{path/to/file.flac}}

Split a `.wav` file into files of the form "track-number - album - title"

shnsplit -f {{path/to/file.cue}} {{path/to/file.wav}} -t "%n - %a - %t"

Context

tldr-pages: linux/shnsplit

Revisions (0)

No revisions yet.