for filename in *.jpg; do newname=echo $filename | sed 's/xxx/yyy/g'; mv $filename $newname; done
echo $filename | sed 's/xxx/yyy/g'
Comment
Name *
Email *
Save my name, email, and website in this browser for the next time I comment.