for i in *.123; do
mv $i `basename $i .123`.src
done


-r
 
----- Original Message ----- 
From: "Jim Baxter" <[EMAIL PROTECTED]>
To: "Redhat" <[EMAIL PROTECTED]>
Sent: Friday, April 20, 2001 9:15 AM
Subject: rename lot of files


> Hi
> 
> Is there a way to rename all the files in a directory the end with .123
> to end with .src ?
> 
> example test.123 to test.src
> 
> Thanks
> 
> 
> Jim Baxter
> Morrison Supply Company  MIS
>  
> 
> 
> 
> 



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

Reply via email to