On Mon, Feb 20, 2012 at 6:05 PM, Ariel Gold <arielqgold at gmail.com> wrote: > Here's one way to do it: > > for f in *JPG ; do mv $f `basename $f JPG`jpg; done On machines with perls rename installed(usually Debian and Ubuntu), " rename 's/\.JPG$/.jpg/' *.JPG " will do it too. ~Ben