in reply to ls dates vs stat() ages
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).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: ls dates vs stat() ages
by Dismas (Acolyte) on Sep 28, 2004 at 17:23 UTC |