Hello,
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 in this example). I need to make the 2 digits to be 3 digits with a leading 0.
In the above example 21-10-03-902-02.tif would need to become 21-10-003-902-02.tif
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 about shell scripting and need to get this done. Any help would be greatly appreciated.
Johnny
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 in this example). I need to make the 2 digits to be 3 digits with a leading 0.
In the above example 21-10-03-902-02.tif would need to become 21-10-003-902-02.tif
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 about shell scripting and need to get this done. Any help would be greatly appreciated.
Johnny