1.

Solve : rename files Incrementing by 1?

Answer»

i have 2000+ files that i have to rename starting with 001.tif. Can anyone help me please?If you start at 001.tif and you have 3 characters in the filename you will run out at 999.tif.

so what if i started at 00001.TIF. how would do that?What order do you want them named in? THE FILES ARE NAMED HY67EBD.TIF   AND I NEED TO RENAME TO 0000001.TIF
                                    HY68EDU.TIF                                              0000002.TIF
                                    HY69BUE.TIF                                              0000003.TIF
                                    HT54FDN.TIF                                              0000004.TIF
                                    BFGRY57.TIF                                               0000005.TIF
                                    BD84HDD.TIF                                              0000006.TIF
                                    HND85JM.TIF                                              0000007.TIF
                                    JKD84HF.TIF                                               0000008.TIF
                                 ALL THE WAY TO                                         ALL THE WAY TO
                                     HF834JV.TIF                                               0002000.TIF



That LIST starting HY67EBD.TIF and ending HF834JV.TIF, is that in date order or size, or what? Ascending or descending?

its a hexadecimal number and i just need to remane them in numerical orderthose aren't the exact files but they are numbered like that in order.You mean they have a filename which is a hexadecimal number, they are in ascending order without any gaps, and you want them renamed so that the lowest hex number is renamed 0000001.TIF and the highest hex number gets the name 0002000.TIF?from which position to which position are the hex numbers. The max for a hex number is F. There are G, J, U ETC in your file name so they are not hex.
Quote from: ghostdog74 on July 01, 2008, 09:19:45 PM

from which position to which position are the hex numbers. The max for a hex number is F. There are G, J, U etc in your file name so they are not hex.


Yes, I was wondering about that too.
Quote from: Dias de verano on July 02, 2008, 12:04:13 AM
Quote from: ghostdog74 on July 01, 2008, 09:19:45 PM
from which position to which position are the hex numbers. The max for a hex number is F. There are G, J, U etc in your file name so they are not hex.


Yes, I was wondering about that too.

well,maybe you could start the ball rolling without considering whether they are hex numbers. Just a normal file listing will do for a start. I want to know what order he wants the source list to be. I'm not a batch file floozy, I need to be wooed.
Quote from: Dias de verano on July 02, 2008, 05:48:33 AM
I'm not a batch file floozy, I need to be wooed.

Post of the year!!!



Discussion

No Comment Found