Difference of 'mtime' and 'ctime'

Michael Morrell morrell at hpsal2.HP.COM
Tue Mar 14 07:14:22 AEST 1989


/ hpsal2:comp.unix.questions / ghe at nucthy.physics.orst.edu (Guangliang He) /  7:26 pm  Mar  8, 1989 /
In the man page of 'find' command, you can find the following two options,

          -mtime n        True if the file has been modified in n
                          days.

          -ctime n        True if the file has been changed in n days.

Can any one out there tell the difference of these two options? 
----------

Try reading the stat(2) man page where it describes the st_ctime and st_mtime
fields.  My documentation describes "st_ctime" as the "Last file status change
time".



More information about the Comp.unix.questions mailing list