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?
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?
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.
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.
Confirming. I repeated VikingOS's actions without bothering with command line. Textedit doesn't do this, but Word does.
Bob: Let's assume it's the app as you suggest unless I get back on this. I'm working with Word, and it's quite possible that it creates a new file for every save. Probably been doing it right along and I just noticed. Thanks to both of you.
I just created an empty file on macOS Mojave 10.14.6 (18G4032), waited 16 minutes, and then added text to it. Here is the stat(1) data from that file that shows that the creation date is not updated to the modification date. The Birth of inode is the creation date.
Finder date created equals date modified