file modification time smaller than a second
Hello,
Is it possible to get file modification times measured to less than a second? Like milisecond, nanosecond, 10th of a second. |
yes.
Quote:
Code:
date -r /tmp "+%s/%N" |
Thanks. Your fix would have worked if the file system actually recorded the time at that granularity when the file was created. I tried the command on several files and everyone came out to 0 nanoseconds. I don't believe that is a likely scenario. I'm bummed.:(
|
It depends on the filesystem
Quote:
If you know any C you can try it ... |
All times are GMT -5. The time now is 11:35 PM. |