m4a->mp3 help

Nils Kassube kassube at gmx.net
Sun Oct 12 09:11:14 UTC 2008


Juan Kawada wrote:
> ok so I was thinking about trying something like
> find ~/Music -iname "*.m4a" -exec lame -V0 -h -b 160 --vbr-new
> input.m4a output.mp3
>
> but that requires me to specify the input and output name.

You could try this:

find ~/Music -iname "*.m4a" | while read fn;do
lame -V0 -h -b 160 --vbr-new "$fn" "${fn%[mM]4[aA]}mp3";done


Nils




More information about the kubuntu-users mailing list