Created
December 30, 2011 15:02
-
-
Save weavenet/1540224 to your computer and use it in GitHub Desktop.
Convert M4A files across multiple directories to MP3s using faad & lame
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 | |
find /tmp -name '* *' | while read filename; do | |
echo "Converting:$filename" | |
faad -o - "$filename" | lame - "${filename%.m4a}.mp3" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment