Tuesday, January 6, 2009
Script to convert .m4a to .mp3
Posted on 9:59 AM by Unknown
Put all your .m4a files (that you want to convert) into a folder and execute the following script from within this folder, make sure to make this script executable (chmod 777 m4a2mp3.sh)#!/bin/sh# name of this script: m4a2mp3.sh# m4a to mp3for i in *.m4a; do faad "$i" x=`echo "$i"|sed -e 's/.m4a/.wav/'` y=`echo "$i"|sed -e 's/.m4a/.mp3/'` lame -h -b 192 "$x" "$y" rm "$x"doneDependenciesfaad2
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment