From owner-freebsd-questions@FreeBSD.ORG Wed Sep 8 23:23:26 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79AE310656CB for ; Wed, 8 Sep 2010 23:23:26 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4749D8FC1A for ; Wed, 8 Sep 2010 23:23:25 +0000 (UTC) Received: by iwn34 with SMTP id 34so530652iwn.13 for ; Wed, 08 Sep 2010 16:23:25 -0700 (PDT) Received: by 10.231.155.212 with SMTP id t20mr10473333ibw.37.1283988205433; Wed, 08 Sep 2010 16:23:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.146.12 with HTTP; Wed, 8 Sep 2010 16:23:05 -0700 (PDT) In-Reply-To: <3CF8B516-812C-4309-88BD-A1F346939A47@mac.com> References: <3CF8B516-812C-4309-88BD-A1F346939A47@mac.com> From: Eitan Adler Date: Wed, 8 Sep 2010 19:23:05 -0400 Message-ID: To: Chuck Swiger Content-Type: text/plain; charset=UTF-8 Cc: questions@freebsd.org, Guojun Jin Subject: Re: how to tell "ls" output date in digital X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Sep 2010 23:23:26 -0000 On Wed, Sep 8, 2010 at 7:20 PM, Chuck Swiger 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