Re: quick timestamp question (ctime/mtime)

2005-03-25 Thread Eric McCoy
Emanuel Strobl wrote: is it possible that mtime of a file can be changed without also changing ctime? No. See stat(2), it shows what operations do what. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-que

quick timestamp question (ctime/mtime)

2005-03-24 Thread Emanuel Strobl
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 o