#!/bin/bash for i in *.wma; do j="${i%.wma}" soundconverter -b -m audio/mpeg -s .mp3 "$j.wma" && rm -f "$j.wma" && echo "$i réencodé en mp3." done