how to tell "ls" output date in digital

Eitan Adler lists at eitanadler.com
Wed Sep 8 23:23:26 UTC 2010


On Wed, Sep 8, 2010 at 7:20 PM, Chuck Swiger <cswiger at mac.com> wrote:
> Hi--
>
> On Sep 8, 2010, at 4:14 PM, Guojun Jin wrote:
>> No D option in ls:
>>
>> [162] bsd-ms: ls -lD "+%F %H:%M"
>> ls: illegal option -- D
>> usage: ls [-ABCFGHILPRSTUWZabcdfghiklmnopqrstuwx1] [file ...]
>

% svn log -r 177907
------------------------------------------------------------------------
r177907 | grog | 2008-04-03 23:57:46 -0400 (Thu, 03 Apr 2008) | 2 lines

Add -D option to specify exact format of date and time output with ls -l.

------------------------------------------------------------------------

I just noticed your using 6.x. I'm not sure what revision 6.x was but
maybe it is too old to have this option?



-- 
Eitan Adler


More information about the freebsd-questions mailing list