- Jun 24, 2001
- 24,195
- 857
- 126
I have thousands of files with dates in them that I would like to rename so that they sort well when sorted by file name. For example, "11-02-10 grave.doc" should be "2010-11-02_grave.doc"
I could try to conjure up my old command line/BAT file skills but I'm sure there's a good program many people use for this. Basically, I need to parse every file in the directory, replace "-10 " in every filename with "_", and prefix all file names with "2010-". Well, the naming wasn't consistent, so some single-digit months/days will need an appended 0 and the suffix will need some attention (grave, Grave, graves, graveyard...), but that should all be easy enough with a goot batch renaming program.
So, what do you guys suggest?
I could try to conjure up my old command line/BAT file skills but I'm sure there's a good program many people use for this. Basically, I need to parse every file in the directory, replace "-10 " in every filename with "_", and prefix all file names with "2010-". Well, the naming wasn't consistent, so some single-digit months/days will need an appended 0 and the suffix will need some attention (grave, Grave, graves, graveyard...), but that should all be easy enough with a goot batch renaming program.
So, what do you guys suggest?
