linux rename multiple files name code example
Example 1: rename multiple files linux
rename 's/old-name/new-name/' files
Example 2: bash rename multiple files pattern
for f in *.jpg; do mv "$f" "$(echo "$f" | sed s/IMG/VACATION/)"; done
rename 's/old-name/new-name/' files
for f in *.jpg; do mv "$f" "$(echo "$f" | sed s/IMG/VACATION/)"; done