Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Sep 2010 19:23:05 -0400
From:      Eitan Adler <lists@eitanadler.com>
To:        Chuck Swiger <cswiger@mac.com>
Cc:        questions@freebsd.org, Guojun Jin <gjin@ubicom.com>
Subject:   Re: how to tell "ls" output date in digital
Message-ID:  <AANLkTimgsqvS84SEyNXgk6Qq6-Ot%2BUFcC5TdLxj=hwrr@mail.gmail.com>
In-Reply-To: <3CF8B516-812C-4309-88BD-A1F346939A47@mac.com>
References:  <CB2DD11991B27C4F99935E6229450D3205E9EF86@STORK.scenix.com> <AANLkTinn-kgp0FGshQUcL%2BhXvJs=ENk0UnOcKWgY_pg6@mail.gmail.com> <CB2DD11991B27C4F99935E6229450D3205E9EF8D@STORK.scenix.com> <3CF8B516-812C-4309-88BD-A1F346939A47@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 8, 2010 at 7:20 PM, Chuck Swiger <cswiger@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimgsqvS84SEyNXgk6Qq6-Ot%2BUFcC5TdLxj=hwrr>