I have a folder full of DNG and JPG files like
and I want to rename them to
I am currently using these exiftool args
exiftool -d '%Y%m%d-%H%M%S-%%f.%%le' '-filename<CreateDate' '-FileCreateDate<CreateDate' '-FileModifyDate<CreateDate' -fileOrder DateTimeOriginal -ext mp4 -ext jpg -ext heic -ext mov -ext dng ./**/*
It handles a bit more then DNG and JPG files and I'd like to keep it that way, since my folders can be mixed with different image and video format files.
I think I'd have to specify a source for the EXIF data extraction, which would be the DNG or JPG (they seem to have the exact some createDate in them). But in case a MOV or MP4 would have to be renamed, the
tagsFromSource arg might not work.