Linux renomear vários arquivos
$ for i in $( ls ); do mv $i $i.old; done
David Diamant
$ for i in $( ls ); do mv $i $i.old; done
for f in *.jpg; do mv "$f" "$(echo "$f" | sed s/IMG/VACATION/)"; done