ubuntu command to rename all files code example
Example 1: bash rename multiple files pattern
rename 's/^/MyVacation2011_/g' *.jpg
Example 2: bash rename multiple files pattern
for f in *.jpg; do mv "$f" "$(echo "$f" | sed s/IMG/VACATION/)"; done