FWIW, depending on what you are trying to do, it may be impossible to guarantee that mtime/atime/ctime will be usefull. For example if users can touch files with arbitrary dates (e.g. using touch or "tar -xf" to dearchive a tree), then you have no real way of determining age based on atime or mtime (and perhaps ctime).
In reply to Re: ls dates vs stat() ages
by bluto
in thread ls dates vs stat() ages
by Dismas
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |