Mass rename (300 files)

Advanced Renamer forum
#1 : 26/09-12 13:18
Ben
Ben
Posts: 4
Hi,

So i have a list as follows,

123456A_MEDIA_V1.MPG
123456A_MEDIA_V2.MPG
123456A_MEDIA_V3.MPG
123456A_MEDIA_V4.MPG
987654Z_MEDIA_V1.MPG
987654Z_MEDIA_V2.MPG
987654Z_MEDIA_V3.MPG
987654Z_MEDIA_V4.MPG

This runs like this for 300 assets, Meaning 75 copies of the first 6numbers and 1 letter. This is MY referance.
What i want to do is rename these 7 to the referance of the destination person.

0001_Media_V1.mpeg


I have a list of what my referances are to be changed to in Excel, is there a way to to this on mass rather than adding a "Replaice" function for each referance? (1 replaice command changes 4 files so i would need to input 75 commands)

hope this makes sense.

Thanks,
Ben


26/09-12 13:18
#2 : 26/09-12 21:03
Stefan
Stefan
Posts: 264
Reply to #1:

Would you please explain again which is your rule?

I guess:

rename the first four files
123456A_MEDIA_V1.MPG
123456A_MEDIA_V2.MPG
123456A_MEDIA_V3.MPG
123456A_MEDIA_V4.MPG
to
0001_Media_V1.mpeg
0001_Media_V2.mpeg
0001_Media_V3.mpeg
0001_Media_V4.mpeg


then the next four
987654Z_MEDIA_V1.MPG
987654Z_MEDIA_V2.MPG
987654Z_MEDIA_V3.MPG
987654Z_MEDIA_V4.MPG
to
0002_Media_V1.mpeg
0002_Media_V2.mpeg
0002_Media_V3.mpeg
0002_Media_V4.mpeg


and so on. Am i on the right track?

----------
If this tool had saved you time, perhaps you want to donate an Dollar to Kim?
See http://www.advancedrenamer.com/download >>> [Donate] button.


26/09-12 21:03
#3 : 27/09-12 10:57
Ben
Ben
Posts: 4
Reply to #2:

Thats it to a letter,

What i have been doing thus far is creating a rule for each number, but its about 2 hours work ( i know still faster than a manual rename but you see the point)


27/09-12 10:57
#4 : 27/09-12 13:17
Stefan
Stefan
Posts: 264
Reply to #3:

>>and so on. Am i on the right track?
>Thats it to a letter,

i guess, your answer means: Yes ?

Then, since the last ARen versions support JavaScript,
it can be done easily.

Pseudo code:

- -
for ( VAR=1 ; VAR=4; VAR++)
{
if (file name == "*_MEDIA_V" + VAR + ".MPG")
{
pVAR = pad ( VAR, 0000)
rename file with pVAR + "_Media_V" + VAR + ".mpeg"
}
if (VAR==4){VAR=1}
}
- -

Perhaps i find some free time to test this myself...

----------
If this tool had saved you time, perhaps you want to donate an Dollar to Kim?
See http://www.advancedrenamer.com/download >>> [Donate] button.


27/09-12 13:17