ls | while read line; do x=$(echo $line |egrep -o .*mp3); mv $line $x ;done

Leave a Reply

You must be logged in to post a comment.