[Nottingham] ls --time=atime

Martin martin at ml1.co.uk
Thu Nov 23 18:48:15 GMT 2006


Martin wrote:
> Peter Chang wrote:
>> On Thu, 23 Nov 2006, Martin wrote:
>>
>>> Folks,
>>>
>>> I'm trying to get a ls listing of files that shows ALL their times:
>>> creation, modified, access.
>> Don't think you can get them simultaneously with ls(1). You may want to
>> use find(1).
> 
> Now that is a good idea!

So:

[~ :)]$ find fontslist -printf 'Modified:      %t\nStatus change:
%c\nLast accessed: %a\n'
Modified:      Wed Mar  3 17:23:39 2004
Status change: Mon Aug  7 12:37:17 2006
Last accessed: Thu Nov 23 14:20:24 2006

And those dates actually do make sense. That file really might be /that/
old!

Thanks,
Martin

-- 
----------------
Martin Lomas
martin at ml1.co.uk
----------------



More information about the Nottingham mailing list