Combine photos and videos renaming methods in the same batch?

Advanced Renamer forum
#1 : 17/08-24 05:10
Alex
Posts: 4
Hi
I need to rename a huge batch of files, it is a folder that contains photos and videos.
Rather than running separate batches, I was wondering if it was possible to run a batch that would apply different methods based on the filename.
For example for .jpg and .jpeg it would apply
<Img DateOriginal:yyyymmdd> <Img TimeOriginal:hhnnss>
And for .mov it would apply:
<Video Date:yyyymmdd> <Video Time:hhnnss>
My objective being that all the files to be listed in sequential order as for when the actual video and photo was actually shot.
Also if the date and time is missing in the metadata for whatever reason I would like to fallback to the date and time the file was created. Do you think I could do that too?
Thanks for your ideas,
#2 : 17/08-24 08:58
Styb
Posts: 104
Reply to #1:
Hi, install the new Advanced Renamer 4.0 beta: https://www.advancedrenamer.com/download#beta

In version 4.0 there is the new method condition option: Include or exclude items for each method based on a pattern or regular expression: https://www.advancedrenamer.com/download#beta_ch anges

You can use the same method but with different conditions based on, for example, the file extension, see the image: https://i.postimg.cc/fyy18L2f/if.jpg
In this example, the method is applied only to files with extensions containing JP.

You can use a method for adding <Img DateOriginal:yyyymmdd> only to JPG or JPEG files, and similarly you can use an other method for adding <Video Date:yyyymmdd> only to MOV files.
#3 : 17/08-24 18:02
Alex
Posts: 4
Reply to #2:
Thank you I am testing it.