Batch Renaming
Posted: Sat May 09, 2009 5:18 am
I know that XnView is mainly an image converting tool. However, it has come in very handy to me as a tool for renaming files also.
Well, that said, my issue is a simple one
In the following example:
Project (Parent Directory)
|--- Test_A
|--- Test_B
|--- Test_C
|--- Test_D
\--- Test_E
Suppose all the sub-folders (Test_A through Test_E) have 10 files each. What I want to do is just select the parent directory (Project), and then give a renaming format (e.g. <Foldername>_##), so that the files inside the folder Test_A will be named like so:
Test_A_01
Test_A_02
Test_A_03
Test_A_04
Test_A_05.... Test_A_10
I tried the "Batch renaming" option. However this option does not reset the numbering in each sub-folder. It replaces the "##" in continuous format through all the sub-folders. I wanted the numbers to reset and start from 0/1 in every sub-folder.
This is what I get:
Test_B_11
Test_B_12
Test_B_13
Test_B_14
Test_B_15
This is what I want:
Test_B_01
Test_B_02
Test_B_03
Test_B_04
Test_B_05.... Test_B_10
Thanks for 'hearing me out'
-J.
Well, that said, my issue is a simple one

In the following example:
Project (Parent Directory)
|--- Test_A
|--- Test_B
|--- Test_C
|--- Test_D
\--- Test_E
Suppose all the sub-folders (Test_A through Test_E) have 10 files each. What I want to do is just select the parent directory (Project), and then give a renaming format (e.g. <Foldername>_##), so that the files inside the folder Test_A will be named like so:
Test_A_01
Test_A_02
Test_A_03
Test_A_04
Test_A_05.... Test_A_10
I tried the "Batch renaming" option. However this option does not reset the numbering in each sub-folder. It replaces the "##" in continuous format through all the sub-folders. I wanted the numbers to reset and start from 0/1 in every sub-folder.
This is what I get:
Test_B_11
Test_B_12
Test_B_13
Test_B_14
Test_B_15
This is what I want:
Test_B_01
Test_B_02
Test_B_03
Test_B_04
Test_B_05.... Test_B_10
Thanks for 'hearing me out'

-J.