Created
September 5, 2012 19:12
-
-
Save FernandoEscher/3642806 to your computer and use it in GitHub Desktop.
File splitter and converter from APE to OGG
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Breaking file into tracks..." | |
cuebreakpoints *.cue | shnsplit -o flac *.ape | |
echo "Converting flac tracks to ogg quality 9..." | |
oggenc -q9 split-track*.flac | |
echo "Tagging files with info from the cue sheet..." | |
cuetag *.cue split-track*.ogg | |
sleep 7 | |
echo "Renaming files according to tags..." | |
lltag split-track*.ogg --rename "%n - %t" --no-tagging --yes | |
echo "Folder clean up..." | |
rm *.flac *.cue *.txt *.url *.log *.jpg *.ape | |
echo "DONE!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment