for me following works (just an example):
The objective was to remane all 336 images files to 760D6a0001(to 336).img
to 760D6a0_001(to _336).img

Just save the script below (like filename.com) and run as sh filename.com  
***************************************************************
for i in 760D6a0***.img
 do
   mv $i ${i%760D6a0***}760D6a0_${i#760D6a0}
 done
****************************************************************

Rajesh


On Wednesday 12 March 2008 02:32, Raja Dey wrote:
> CCP4BB@jiscmail.ac.uk

-- 
Rajesh Kumar Singh, PhD
Institut fur Biochemie
Universitat Greifswald
Felix-Hausdorff-Str. 4
D-17489 Greifswald
Germany

E.Mail: [EMAIL PROTECTED]
Phone: +49-3834- 86 4392

Reply via email to