ls | while read line; do x=$(echo $line |egrep -o .*mp3); mv $line $x ;done
Just another WordPress site
ls | while read line; do x=$(echo $line |egrep -o .*mp3); mv $line $x ;done
This entry was posted by admin on February 1, 2010 at 2:55 pm under bash scripting, linux. You can leave a response, or trackback from your own site. Follow any responses to this entry through the RSS 2.0 feed.
Leave a Reply
You must be logged in to post a comment.