quick timestamp question (ctime/mtime)

Emanuel Strobl emanuel.strobl at gmx.net
Thu Mar 24 23:13:45 PST 2005


Hello,

is it possible that mtime of a file can be changed without also changing 
ctime? Vice versa is easy, chmod or similar will do that. But if I change 
mtime with touch, also ctime gets changed.
I ask because I'm about writing a little backup script and want to be sure to 
capture every file on any imaginable modification when comparing only ctime!

Thanks,

-Harry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050325/08308970/attachment.bin


More information about the freebsd-questions mailing list