ExifTool:CreationDate

Advanced Renamer forum
#1 : 17/01-22 10:11
Zirrog
Zirrog
Posts: 4
Very good to everyone. I'm Zirrog, I'm new to this forum, but I hope I can help you. Although today I come for help.

Advanced Renamer has saved my life to sort tons of photos and videos. My choice of filenames for videos has been as follows: <Video Date Year>-<Video Date Month>-<Video Date Day> - <Video Date Hour>.<Video Date Min>.<Video Date Sec>.
This gives me, for example, the following filename (which allows me to sort all videos by filename):
2020-12-29 - 19.57.23

Without further ado, my problem is with the videos and live actions taken with an iPhone. Strangely the correct creation date appears only in Exiftool, in the "CreationDate" field.

This forces me to only be able to use the following advanced renaming command "<ExifTool:CreationDate>". This gives me a filename like the following:
2022_01_09 18_25_13+01_00

My intention is to be able to change that name and have it stay as I have all the others, that is, as follows:
2022-01-09 - 18.25.13

I have tried to solve it by myself and search for it in this forum, but it has been impossible for me, I hope you can help me because this is driving me crazy.

Thanks a lot!


17/01-22 10:11 - edited 17/01-22 17:30
#2 : 17/01-22 13:54
David Lee
David Lee
Posts: 1125
Add a List Replace method with two lines after you have renamed using"<ExifTool:CreationDate>":
Line 1: Replace "_" with "-"
Line 2: Replace "+*" with nothing

(NOT a regular expression)


Edit:

I notice that initially you wrote that your favoured date format is "2020-12-29 - 19.57.23" - ie with dots as time separators.

You can achieve this with a Replace method...

Replace: "(\d{4})_(\d{2})_(\d{2}) (\d{2})_(\d{2})_(\d{2}).*"
with: "\1-\2-\3 - \4-\5-\6"
Use regular expressions



17/01-22 13:54 - edited 17/01-22 14:38
#3 : 17/01-22 17:28
Zirrog
Zirrog
Posts: 4
Reply to #2:

You're my hero. Really, you have solved a headache of months. My most sincere thanks.

I only had to make the following modification:
I only had to modify this
"\1-\2-\3 - \4-\5-\6"
For this
\1-\2-\3 - \4.\5.\6
So that it comes out according to my pattern.

Again, thank you so much. You're my hero.


17/01-22 17:28