nix, shell, perl, php, mysql and mac os x tips and tricks

Sunday, August 1, 2004

Encode all .wav files in a directory (at 96), and delete them

for i in *.mp3; do lame -b 96 $i `basename $i .wav`.mp3; rm -f $i; done

No comments:

Post a Comment