Change number for all files but keep the same with different extension

Advanced Renamer forum
#1 : 05/05-21 10:10
ToraRyu
ToraRyu
Posts: 3
Hi!

I don't know if it's possible and how to do that...

If I have several files like :
video.mp4
video.jpg
video.srt
video2.mp4
video2.jpg
video2.srt
etc...

How can I rename all like that :
My video S01E01 video.mp4
My video S01E01 video.jpg
My video S01E01 video.srt
My video S01E02 video2.mp4
My video S01E02 video2.jpg
My video S01E02 video2.srt

And no like that :
My video S01E01 video.mp4
My video S01E02 video.jpg
My video S01E03 video.srt
My video S01E04 video2.mp4
My video S01E05 video2.jpg
My video S01E06 video2.srt

Thanks ^^


05/05-21 10:10
#2 : 05/05-21 11:16
David Lee
David Lee
Posts: 1125
Use the Add method with Pair renaming enabled (check the box at the right, just above the file list).

Add: "My video S01E<Inc Nr:01> "
At index: 0

ARen will apply the Add method only to the mp4 files. The jpg and srt files will be recognized as pairs of the mp4 files with the same filenames and will be given the corresponding filenames.

(Note: do not include the quotes in the Add string)


05/05-21 11:16
#3 : 05/05-21 13:45
ToraRyu
ToraRyu
Posts: 3
Reply to #2:

it doesn't work...

To be precise, I have one file "video (720p....).mp4" with "video (subtitle).srt" and "video (Pic).jpg"

I apply a lot of substitution to remove all things in ( ), so I have "video.mp4", video.srt etc...
then insert a title, "Video S01E01"
then number.

Pair renaiming is on but doesn't apply the same number :s I also try with <Inc Nr:01> and without number at end but same result...

Must I number on a second time?


05/05-21 13:45 - edited 05/05-21 13:50
#4 : 05/05-21 14:42
David Lee
David Lee
Posts: 1125
No - it works perfectly with the example you posted. It's YOU that asked the wrong question!

Your second post still does not make any sense. Please give proper examples of the filenames before you start fiddling with them and tell us exactly what you are trying to achieve.

Edit: In case this is your problem.... ARen will only recognize pairs if the ORIGINAL filenames (without extensions) are identical. If they only match after you have removed the suffixes (ie text in parenthesis) then they will not be recognized as pairs and you will have to rename in two passes. That is run the first batch and then reload all your files to add the incrementing numbers.




05/05-21 14:42 - edited 05/05-21 14:55
#5 : 05/05-21 17:57
ToraRyu
ToraRyu
Posts: 3
Reply to #4:

It's not necessary to be agressive... English is not my language so I made my best.
I don't said that your solution is wrong, just that it doesn't work for me... and I precised my question without be impolite...

But now I've my answer, I make 2 run and it works perfectly now, thanks


05/05-21 17:57