On Mon, Feb 11, 2002 at 11:39:10PM -0500, Reuben D Budiardja wrote:
> 
> I need a bit of help with bash here. I try to create a script that would 
> change the extension of files in directory. I have files like 
> xxx.pc that I want a change to xxx.jpg, where xxx is numbers, in a directory. 
> How can I do that using bash?

I use the rename utility that comes with RedHat for this type of thing:

rename .pc .jpg ???.pc

Emmanuel



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to