Converting audio files with linux
Using sox to convert all files in current directory to mp3:
for i in ./*; do echo $i;sox “$i” “${i:0:$(( ${#i} – 3 ))}mp3″; done
And for deleting the old files (change the fileending) and yes it will DELETE the files:
find ./ -name “*.m4a” -exec rm {} \;