Re: ls -lt and date/time stamp

From: David Annis (AnnisD@SCHNEIDER.COM)
Date: Fri Jan 16 2004 - 14:11:21 EST


My experience is that it does not, but that was on Solaris.

I needed to write a Perl script that used readdir and the stat function to
get file times down to the second.

===============================
Dave Annis, Unix System Administrator
Schneider National, Inc. (920) 592-8398

''If more of us valued food and cheer and song above hoarded
gold, it would be a merrier world.'' - J.R.R. Tolkien

                      John Dunn
                      <john.dunn@SEFAS. To: aix-l@Princeton.EDU
                      CO.UK> cc:
                      Sent by: IBM AIX Fax to:
                      Discussion List Subject: ls -lt and date/time stamp
                      <aix-l@Princeton.
                      EDU>

                      01/16/2004 07:08
                      AM
                      Please respond to
                      IBM AIX
                      Discussion List

Does ls -lt distinguish between times of less then a minute?

I need to make sure that files are listed in time order down to seconds( or
less) in order to get files in the correct order?

Can I do this?



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:31 EDT