Last active
June 5, 2017 06:52
-
-
Save bitmess/11cc51e4a91976583f7851008ea6324e to your computer and use it in GitHub Desktop.
convert mp3 to acf
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 | |
rm -rf ./output | |
mkdir ./output | |
for file in ./* | |
do | |
if [ "${file##*.}" = "mp3" ]; then | |
/usr/bin/afconvert "$file" ./output/"${file%.mp3}.caf" -d ima4 -f caff -v | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment