for filename in *.jpg; do mv "$filename" "prefix_${filename}"; done;
for file in *.java; do mv -- "$file" "${file%.java}Response.java"; done;
Tags: [ bash ]
bash