renaming files
From: Johnny Cockrell (jc65140_at_aod.fedex.com)
Date: 11/04/03
- Next message: Ed Morton: "Re: copying file to a new name."
- Previous message: Bill Marcum: "Re: copying file to a new name."
- Next in thread: Andreas Kahari: "Re: renaming files"
- Reply: Andreas Kahari: "Re: renaming files"
- Reply: Chris F.A. Johnson: "Re: renaming files"
- Reply: William Park: "Re: renaming files"
- Reply: Stephane CHAZELAS: "Re: renaming files"
- Reply: Robert Katz: "Re: renaming files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 04 Nov 2003 10:26:49 -0600
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 shell scripts and need to get this done. Any help
would be
greatly appreciated.
Johnny
- Next message: Ed Morton: "Re: copying file to a new name."
- Previous message: Bill Marcum: "Re: copying file to a new name."
- Next in thread: Andreas Kahari: "Re: renaming files"
- Reply: Andreas Kahari: "Re: renaming files"
- Reply: Chris F.A. Johnson: "Re: renaming files"
- Reply: William Park: "Re: renaming files"
- Reply: Stephane CHAZELAS: "Re: renaming files"
- Reply: Robert Katz: "Re: renaming files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|