From: Johnny Cockrell (jc65140_at_aod.fedex.com)
Date: Tue, 04 Nov 2003 10:26:49 -0600
Can anyone help me in renaming about 1000 files I have.
The file names are like 21-10-03-902-02.tif
The change i need to make is in the third set of digits (where the 03 is
this example). I need to make the 2 digits to be 3 digits with a leading
In the above example 21-10-03-902-02.tif would need to become
25-25-25-100-10.tif would need to become 25-25-025-100-10.tif.
I simply need to make the two digits to be 3 digits with a leading 0.
I don't know much shell scripts and need to get this done. Any help