[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ls --full-time (full-iso, locale)
From: |
Jim Meyering |
Subject: |
Re: ls --full-time (full-iso, locale) |
Date: |
Mon, 08 Apr 2002 07:55:26 +0200 |
User-agent: |
Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2.50 (i686-pc-linux-gnu) |
Tom <address@hidden> wrote:
> I hope you don't consider this question too
> stupid. I did read the FAQ and look through
> the archives (and I must say that you guys
> have the patience of Job).
>
> I have always used the full-time option with ls
> (just because I like it that way). I have it
> aliased in my login scripts.
>
> I had my first encounter with Mandrake 8.2
> recently (i386 of course), which I think uses
> fileutils 4.1.6.
>
> The --full-time option now uses full-iso. I
> like the fact that I get a completely numeric
> time stamp, but it shows NINE digits to the
> right of the decimal point for seconds (down
> to the billionth of a second). I don't think
> I would find that too useful even if Linux did
> have that level of precision (it only stores
> times to the second, I believe). Also, I could
> do without the zone offset.
How about something like --time-style='+%Y-%m-%d %T' ?
$ ls -ogl --time-style='+%Y-%m-%d %T' k
-rw-r--r-- 1 2245 2002-04-08 07:43:47 k
You need fileutils-4.1.6 or newer for that.
The latest is here:
ftp://alpha.gnu.org/gnu/fetish/fileutils-4.1.8.tar.gz