Renaming mp4 files & paired files

Advanced Renamer forum
#1 : 20/11-21 16:58
Cornelius Nyber
Cornelius Nyber
Posts: 4
Hi,

I want to rename in my folder the folling file pairs on my SOny cam:
[original]
C0001.MP4
C0001.MP4.modd
C0001.MP4.moff

[new]
20200415_120024.MP4
20200415_120024.MP4.modd
20200415_120024.MP4.moff

I found a method in the forum whiched showed how to replace the .MP4 name to get the file pairs identified. But somehow this is not working:

"You can achieve the desired result in two passes, without using a script.
Make sure that "Pair renaming" is enabled and load all your files into the list

First Pass:
Remove ".MP4" from the filenames using "Replace"...
Text to be replaced: ".MP4"
Replace with: blank
Apply to: "Name"
(The .MP4 EXTENSION will not be removed)

Run the batch and reload all the files back into the list by selecting Add files: "All items" in the "Progress" window.

Now ARen will recognize the .modd & .moff files as file pairs of the .mp4 files (since all three filenames are now identical) and so they will be renamed to match the corresponding .MP4 files.

Second Pass:
1) New Name method...
New Name: <Video Date Year><Video Date Month><Video Date Day>_<Video Date Hour><Video Date Min><Video Date Sec>.MP4
Apply to: Name
(This will leave the .MP4 filename containing a redundant ".MP4".

2) Replace method (in the same batch)...
Text to be replaced: "MP4"
replace with: blank
Apply to: "Extension"
(The .MP4 extension will be deleted whereupon the ".MP4" in the filename will become the new extension - the .modd & .moff files will remain unaffected).

Run the second batch and all done."

I struggle already on loading the files for a bunch of folders. If I use "add" per subfolder the .modd and .moff are added and with "Pair rename" AR identifies .moff as pair, but not.modd.

I I want to add all files by the directory structure with "pair rename" active only the .mp4 files are added but not the other files.

Can somebody help me how I can add all files incl the other extensions to run the mentioned script?


20/11-21 16:58
#2 : 21/11-21 11:08
David Lee
David Lee
Posts: 1125
if you follow the instructions it will work!

Pair renaming is only relevant in the second step. Once you have removed ".mp4" from the .modd and .moff files and reloaded the files they will be correctly identified as pairs of the mp4 files.

Try reading the User Guide so that you have some idea about how the program works!


21/11-21 11:08
#3 : 14/12-21 01:04
Cornelius Nyber
Cornelius Nyber
Posts: 4
Reply to #2:
Thanks for feedback. I read everthing but I struggle to rename the files in the first pass as the .modd or .moff files are not loaded by adding folders.
I can process pass 1 & pass two with paired if I add them only file by file which is not working for me as I have hundreds of .mp4, .modd, . moff file's .
Can you please check or is this a bug of version 3.88?


14/12-21 01:04
#4 : 14/12-21 11:57
David Lee
David Lee
Posts: 1125
Reply to #3:
I don't understand your problem. If you add a directory then ALL files in the folder should be added unless you have defined a Mask or Regular Expression Match. I can confirm that this works correctly in ver 3.88 under Windows 10.

If your folder contains files with other extensions then you can load only the extensions you want using the Mask: *.mp4;*.modd;*.moff


14/12-21 11:57