Hello,
Running exiftool version 11.65 on MacOS 10.14.5
I'm trying to rename all .avi files recursively using the following:
exiftool -if '$FileTypeExtension eq "avi"' '-filename<${CreateDate}_${Make}_${Model}.%e' -d %Y-%m-%d_%H%M%S -r /DIR/
this returns "files failed condition" and doesn't rename anything, but if I specify the file it works. I have confirmed that the avi files do have the CreateDate, Make and Model tags.
I've been searching the forum here but have not found any leads to get this working.
Any help would be very appreciated.
See FAQ #16 (https://exiftool.org/faq.html#Q16)
Thank you for the quick reply, it worked as expected!