Is ctime of find the creation time?
7,913
No, it is the date of the last status change to the file, i.e. writes to file data or metadata.
Further reading
- https://superuser.com/a/703927/38062
- How to find creation date of file?
- Is there still no Linux kernel interface to get file creation date?
- Why does my file have multiple crtime entries?
Related videos on Youtube
Author by
Kingofkech
By day : I am a student in computer networks and information systems, I am passionate about new technologies since my youngest age. By night: I am a fan of video games I play it enormously and I appreciate every second passed in front of my screen.
Updated on September 18, 2022Comments
-
Kingofkech almost 2 years
In the man of
find
the-ctime
is said to be :-ctime n File status was last changed n*24 hours ago. See the comments for -atime to understand how rounding affects the interpretation of file status change times. -atime n File was last accessed n*24 hours ago. When find figures out how many 24-hour periods ago the file was last accessed, any fractional part is ignored, so to match -atime +1, a file has to have been accessed at least two days ago.
I know from here that the
ext4
file system stores the creation date , and you can get it usingstats
, is thestatus change times
they are talking about in the manual the same as the one given bystats
? or precisely , is thectime
the date of creation of a file ? -
Kingofkech over 6 yearsi need to perform a find of a files that have not been created in more then 30 days , so
-ctime +30
will not work ?