Bash - move file in a for loop

01 Jul 2020

for file in *.jpg ; do mv $file ${file//IMG/myVacation} ; done
[ bash  for  loop  ]