Skip to content

Instantly share code, notes, and snippets.

@pfactum
Created March 29, 2012 12:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pfactum/2236609 to your computer and use it in GitHub Desktop.
Save pfactum/2236609 to your computer and use it in GitHub Desktop.
flac1
#!/bin/bash
enca -x utf-8 "$1" ; \
shnsplit -o flac "$2" < "$1" && \
rm -f split-track00.flac ; \
cuetag.sh "$1" split*.flac && \
find . -maxdepth 1 -name "split*.flac" -print0 | xargs -0 metaflac --add-replay-gain && \
lltag --yes --no-tagging --rename "%n - %t" split*.flac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment