Renaming Files on Hoary

Stephen R Laniel steve at
Wed Jun 15 01:27:30 UTC 2005

On Tue, Jun 14, 2005 at 10:21:25PM -0300, Joel Goguen wrote:
> Try escaping the * so it gets passed to the script as the * character.
> So instead of 
> [jgoguen@/home/jgoguen]$ rename *.JPG *.jpg
> you would have 
> [jgoguen@/home/jgoguen]$ rename \*.JPG \*.jpg

The latter would be identical to

rename '*.JPG' '*.jpg'

And that won't work, as I mentioned earlier, without
writing your own globbing engine. 

Stephen R. Laniel
steve at
+(617) 308-5571
PGP key:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <>

More information about the ubuntu-users mailing list