Difference of 'mtime' and 'ctime'

Ric Urrutia ric at Apple.COM
Tue Mar 14 10:43:38 AEST 1989


In article <9316 at orstcs.CS.ORST.EDU> ghe at nucthy.physics.orst.edu (Guangliang He) writes:
>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? 
>
>Thanks in advance.


ctime is the date and time when the inode info changed last (such as link count, mode, uid, gid, etc.)

mtime is the date and time when the file contents changed
>***********************************************************************
>                                   *                                   
>USMAIL:   Guangliang He            *   INTERNET: ghe at PHYSICS.ORST.EDU  
>          Department of Physics    *   BITNET:   hegl at orstvm.bitnet   
>          Oregon State University  *                                   
>          Corvallis, OR 97331      *   PHONE:    (503) 754-4631        
>                                   *                                   
>***********************************************************************



More information about the Comp.unix.questions mailing list