change file names
Jerry
greenmt at gmail.com
Tue Feb 21 09:56:01 EST 2006
Hi All *nix experts.
Sorry I'm being thick-skinned again here, and begging for the answer of a
no-brainer question.
I have a bunch of files located in the same directory "/export".
Their file names look like below:
exp1eve1.txt
exp1eve2.txt
exp1eve3.txt
exp1eve4.txt
.....
The pattern is that only the last character changes, as you can see,
from 1 to 4.
My goal is to find a short solution to replace all 4th character, which
is "1", with "2", so they will look like this:
exp2eve1.txt
exp2eve2.txt
exp2eve3.txt
exp2eve4.txt
.....
Any input is much appreciated.
Thanks,
Zhao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.gnhlug.org/mailman/private/gnhlug-discuss/attachments/20060221/bab06fdf/attachment.html
More information about the gnhlug-discuss
mailing list