Date: Wed, 08 Sep 2010 16:20:34 -0700 From: Chuck Swiger <cswiger@mac.com> To: Guojun Jin <gjin@ubicom.com> Cc: Eitan Adler <lists@eitanadler.com>, questions@freebsd.org Subject: Re: how to tell "ls" output date in digital Message-ID: <3CF8B516-812C-4309-88BD-A1F346939A47@mac.com> In-Reply-To: <CB2DD11991B27C4F99935E6229450D3205E9EF8D@STORK.scenix.com> References: <CB2DD11991B27C4F99935E6229450D3205E9EF86@STORK.scenix.com> <AANLkTinn-kgp0FGshQUcL%2BhXvJs=ENk0UnOcKWgY_pg6@mail.gmail.com> <CB2DD11991B27C4F99935E6229450D3205E9EF8D@STORK.scenix.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 ...] I suspect that's a GNU extention to their version of ls. Try installing /usr/ports/sysutils/coreutils and see whether /usr/local/bin/ls supports this.... Regards, -- -Chuck
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CF8B516-812C-4309-88BD-A1F346939A47>