I have hundreds of GoPro (Hero 9 and 7) mp4 files in many folders that I would like to rename according to their internal ISO datetime taken, e.g., 2022-12-20_08-27-36.mp4. I don't know the internal GoPro mp4 metadata field name. EXIFTOOL is amazingly rich in function and I would like a quick pointer for a command line that would accomplish this for all mp4 files in a folder. Thanks!
This should work:
exiftool -d "%Y-%m-%d_%H-%M-%S.%%e" "-filename<createdate" -ext mp4 DIR
See this page (https://exiftool.org/filename.html) for documentation on this feature.
- Phil