Skip to content

Instantly share code, notes, and snippets.

@seralf
Last active March 7, 2024 07:52
Show Gist options
  • Save seralf/5429814 to your computer and use it in GitHub Desktop.
Save seralf/5429814 to your computer and use it in GitHub Desktop.
Simple shell script to split a single flac file using a cue file. The .flac file and .cue file must have the same name.
#!/bin/bash
sudo apt-get install cuetools shntool flac
cuebreakpoints $1.cue | shnsplit -o flac $1.flac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment