There is a third timestamp called the inode change time. i'll just quote the info page as it explains it alot better than I could:
Quote:
The inode change time represents the time when
the file's meta-information last changed. One common example of this
is when the permissions of a file change. Changing the permissions
doesn't access the file, so the atime doesn't change, nor does it
modify the file, so the mtime doesn't change. Yet, something about the
file itself has changed, and this must be noted somewhere. This is the
job of the ctime field. This is necessary, so that, for example, a
backup program can make a fresh copy of the file, including the new
permissions value. Another operation that modifies a file's ctime
without affecting the others is renaming. In any case, it is not
possible, in normal operations, for a user to change the ctime field to
a user-specified value.
There is also a -c option to tell touch if a file does not exist to not create it. I'm sure this is a very handy option for shell scripting but does'nt make much sense to use on the command line.
Hope this is helpful
_________________ Mandriva 2025 kernel=2.6.12-12mdk
Suse 10.0 Pro kernel=2.6.13-15.8-default
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum