Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jul 2013 18:30:35 +0800
From:      "Alex V. Petrov" <alexvpetrov@gmail.com>
To:        Sergey Kandaurov <pluknet@gmail.com>, stable@freebsd.org
Subject:   Re: ls -U don't work?
Message-ID:  <2813184.tAUhP2F1j4@alex.super>
In-Reply-To: <CAE-mSO%2BNO1WR_hMKOzmPW8TEmpuv64XVNxmoeLR3a1iFdyEo5g@mail.gmail.com>
References:  <8704004.oreYQuEkVL@alex.super> <CAE-mSO%2BNO1WR_hMKOzmPW8TEmpuv64XVNxmoeLR3a1iFdyEo5g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

В письме от 13 июля 2013 13:45:30 Вы написали:
> 2013/7/13 Alex V. Petrov <alexvpetrov@gmail.com>:
> > subj:
> > ls -Ul
> 
> So, what's the problem? Looking at code,
> I'd suggest to try adding -t to actually enable sorting,
> otherwise it just prints dates but not sorts.
> 
> > total 0
> > -rw-r--r--  1 alex  alex  0 13 июл 15:26 000
> > -rw-r--r--  1 alex  alex  0 13 июл 15:25 111
> > -rw-r--r--  1 alex  alex  0 13 июл 15:25 222
> > -rw-r--r--  1 alex  alex  0 13 июл 15:25 333
> 
> -t enables sorting (by modified date by default),
> -U further specifies to sort by birth time.

What is the meaning of '-U'?I thought '-U' = '-tr'

man ls:
"-U      Use time when file was created for sorting or printing."

-----
Alex V. Petrov




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2813184.tAUhP2F1j4>