ExifTool Forum

ExifTool => Newbies => Topic started by: bernhtp on December 22, 2022, 01:45:08 PM

Title: Bulk Gopro mp4 file rename to starting timestamp
Post by: bernhtp on December 22, 2022, 01:45:08 PM
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!
Title: Re: Bulk Gopro mp4 file rename to starting timestamp
Post by: Phil Harvey on December 22, 2022, 03:36:56 PM
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