Thanks Steve,
Will give that a look, yes as always will back up, have been bitten by
the clobber monster too many times...
Kerry
Quoting steve <[email protected]>:
#!/bin/bash
for file in `find . -name \*JPG`
do
mv $file ${file%%JPG}jpg
done
*you may want to test and make a backup first!*
Steve
On Wed, 2009-12-16 at 17:15 +1300, [email protected] wrote:
Hi all,
I've got around 1700+ images that are a mixture of .jpg and .JPG
extensions and they are for a number of online slideshows now I need to do
a batch rename on the extensions so they are all in lower case, leaving
the rest of the file name intact. I've come across a few Perl scripts in
my search, but I'm not familar with Perl so would rather use something I'm
more familar with such as Bash. Anyone know any either Bash script-foo or
a nice gui interface I can achieve this with?
Regards,
Kerry
--
Steve Holdoway <[email protected]>
http://www.greengecko.co.nz
MSN: [email protected]
GPG Fingerprint = B337 828D 03E1 4F11 CB90 853C C8AB AF04 EF68 52E0