try the unix tool mmv.
jan

On Aug 7, 2008, at 1:40 AM, yanming Zhang wrote:

All UNIX gurus,

I need to change 300 image file names sequentially, such as:
XXX_10001.img to XXX_101.img
XXX_10002.img to XXX_102.img
................

Obviously, using UNIX 'mv' to work on 300 files is stupid. Anyone can give me a very simple UNIX shell file to finish the job quickly? Thank you!

Yanming



--
Jan Abendroth
deCODE biostructures
Seattle / Bainbridge Island WA, USA
work: JAbendroth_at_decode.is
home: Jan.Abendroth_at_gmail.com




Reply via email to