Batch rename files on MAC (add prefix and suffix)


r I in *.PNG
for I in *.PNG; do mv "$i" "pre_${i%.PNG}.PNG" ; Done
code> f> in *.png; do mv "$i" "${i%.PNG}_tail.PNG" ; Done

br> <>e>for I i>. do mv “$i” “${i%_Mon.jpg}_Sun.jpg” ; done

Read More: