Skip to content
FLAVIO COPES
flaviocopes.com
2026

Fix files creation date in macOS

~~~

I took some videos with a GoPro that didn’t have date/time set correctly, so all videos were dated 2016 or so.

I went into the folder that had those videos and used the command

SetFile -d '01/25/2025' *

to update all files to the correct date.

This won’t affect the time.

If you also want to set the time, use this format:

SetFile -d '01/25/2025 12:00:00' *
~~~

Related posts about mac: