On Wed, 2009-12-16 at 19:19 +1300, Christopher Sawtell wrote:
> If my understanding of the man page is correct, that will change the
> whole of the file name to lower-case. He wants only the extension
> changed.

sorry, Sorry, SORRY!

I read the question wrong. If you don't want to touch the filename then
you could use;

rename -v 's/\.JPG$/\.jpg/' *.JPG

or somesuch. Loops are great but often there are pre-built commands
which are easier to use.

hads

-- 
http://nicegear.co.nz
New Zealand's Open Source Hardware Supplier

Reply via email to