I am trying to figure out how I can rename a big batch of files in a certain format, and I've only managed to get about half the information needed.
The files I have are in format:
12345678.txt
and the desired format is:
ABC.12345678.20170210.TE6578.01.10.txt
ABC will always be the same so I was able to add this
12345678 is the existing file name
20170210 is today's date in YYYYMMDD format. I was able to add this
TE6578 will be the same for each batch of files I want to rename.
01.10 = file 01 of 10. Second file should be 02.10 and so on
I am having trouble adding the last two components, i.e TE6578 and 01.10.
I was wondering if someone could give me some guidance on how to accomplish this?
Thanks in advance.