Rename files
Posted: 10 Jan 2013 15:54
Hi
In a folder i have a number of files which i would like to rename. They are currently named like this:
111111_1
111111_2
111111_3
33333333_1
33333333_2
I would like them to be outputted like so:
0000111111_PF_20130110_1
0000111111_PF_20130110_2
0000111111_PF_20130110_3
0003333333_PF_20130110_1
0003333333_PF_20130110_2
The first part of the file name should be padded with 0's to 10 characters. _PF_20130110 is a fixed text which need to be added.
Is this possible?
Many thanks Paul
In a folder i have a number of files which i would like to rename. They are currently named like this:
111111_1
111111_2
111111_3
33333333_1
33333333_2
I would like them to be outputted like so:
0000111111_PF_20130110_1
0000111111_PF_20130110_2
0000111111_PF_20130110_3
0003333333_PF_20130110_1
0003333333_PF_20130110_2
The first part of the file name should be padded with 0's to 10 characters. _PF_20130110 is a fixed text which need to be added.
Is this possible?
Many thanks Paul