Syntax Question regarding Missing Information of image file

Hi,

I would like to rename image files names using "Img DateOriginal". But, some of image files don't have that information. In that case, I would like to use "Date Modified" instead of "Img DateOriginal". So, I wrote a syntax like below. But, it doesn't work.

<Img DateOriginal:yyyymmdd|Date Modified:yyyymmdd>

Could you give me an advice to resolve the issue?
Thank you.

Best Regards,
SP
Reply to #1:

Hi SP,

Just use two pipe marks instead of the one in your syntax:

<Img DateOriginal:yyyymmdd||Date Modified:yyyymmdd>

https://www.advancedrenamer.com/user_guide/v4/tag_fallback

Best,
DF
Reply to #2:
The correct syntax for the short form tag fallback is this:
<Img DateOriginal||Date Modified:yyyymmdd>

Reply to #3:

Thanks Kim.