Files
cheatsheet-tldr/tldr/linux/shnsplit
2024-11-12 00:16:54 +00:00

26 lines
631 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# 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"`