Finder date created equals date modified

MacOS Mojave 10.14.6

When a file is modified, the date created is updated along with date modified.

This problem seems to be ten years old, according to forums. Has Apple ever responded to an inquiry?

Posted on Apr 7, 2020 3:13 PM

Reply
Question marked as Top-ranking reply

Posted on Apr 7, 2020 3:41 PM

Are you talking about the macOS Creation time, or the Unix st_ctime value?


Unix st_ctime is Metadata Change Time.


The different Unix times can be seen using

stat -x filename


macOS creation time is different and you can see that using

getfileinfo filename

assuming you have installed the Xcode command line tools

sudo xcode-select --install


However, many apps actually create a new file and write the modified contents to the new file, then rename the new file to the old name. That will always end up setting a current Creation time.

4 replies
Question marked as Top-ranking reply

Apr 7, 2020 3:41 PM in response to dickharris444

Are you talking about the macOS Creation time, or the Unix st_ctime value?


Unix st_ctime is Metadata Change Time.


The different Unix times can be seen using

stat -x filename


macOS creation time is different and you can see that using

getfileinfo filename

assuming you have installed the Xcode command line tools

sudo xcode-select --install


However, many apps actually create a new file and write the modified contents to the new file, then rename the new file to the old name. That will always end up setting a current Creation time.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Finder date created equals date modified

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.