change the FileCreateDate to EXIF:CreateDate if the selected file is an image file (EXIF:CreateDate not empty) OR change the FileCreateDate to QuickTime:CreationDate if the selected file is a video file (QuickTime:CreationDate not empty). I have created standard function buttons (one for video and one for image files).
//Image file
exiftool -overwrite_original "-FileCreateDate<EXIF:CreateDate" -@ {allfilepath|filem}
//Video file
exiftool.exe -overwrite_original "-QuickTime:CreateDate<QuickTime:CreationDate" "-FileCreateDate<QuickTime:CreationDate" -@ {allfilepath|filem}
Rename the file to include the FileCreateDate. I created a rename command for this.
RegEx: DPC_{created|D#yyyyMMdd_T#HHmmss}_\1
I have tried to create Jscript for a button to do these tasks in a single button. I am struggling and could use some help.
Well, this topic was more about ExifTool than it was about Opus
The Tutorials section is your best start. Watch the videos, even the old ones for Opus 12 are packed with relevant info. The forum is full of solutions, grab the ones you like and start modifying them for your specific use case.
Following the guidelines here makes life easier for everyone.