Rinominare file multipli

for i in *.bak; do mv "$i" "${i/bak/ini}"; done