Rename mutiple files amit - 31 Aug 2011 for i in *.dump; do mv “$i” “${i/.dump}”;done for i in *.JPG; do mv "$i" "${i/.JPG}".jpg; done