Created
March 4, 2016 15:42
-
-
Save max-potapov/9a884cf57bf5a080294a to your computer and use it in GitHub Desktop.
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/sh | |
if [[ -d $1 ]]; then | |
for fileName in $1/* | |
do | |
if [ -d "$fileName" ]; then | |
pushd "$fileName" | |
mp3splt -c *.cue -o "@N @p - @t" -a *.mp3 || exit 1 | |
popd | |
fi | |
done | |
fi | |
echo 'yay!' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment