The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #6 (permalink)  
Old 03-18-2008
antointoronto antointoronto is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 28
rename multiple files

Quote:
Originally Posted by shamrock View Post
Code:
for i in *.Z
do
   mv $i ${i.Z}
done
hi

Thanks for your reply.But I would like to use substring operation.


Thanks