Difference of 'mtime' and 'ctime'

Guy Harris guy at auspex.UUCP
Tue Mar 14 07:45:30 AEST 1989


>the svid entry differs from you message. It states
>
>	-ctime n	True if the file *INODE* has been changed in n days

Which, in practice, tends to mean "the file has been changed in n days,
or the file has been renamed in n days, or a link to the file has been
added or removed in n days, or the permissions have been changed in n
days, or the owner has been changed in n days, or...." Basically, either
the file itself has been changed, or any of the changable attributes
that "stat" returns, with the possible exception of the accessed time,
has been changed. 



More information about the Comp.unix.questions mailing list