[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ls has stopped using the ISO date format



On 05/29/2010 11:17 PM, Teemu Likonen wrote:
[snip]

Yes, the default has changed. You can change the default with TIME_STYLE
environment variable, like this:

     export TIME_STYLE=long-iso


Another method is the --time-style option.  For example:

$ alias dir='ls -aFl --time-style=+"%F %T"'

$ dir 19*jpg
-rw------- 1 me me 158770 2007-09-25 23:15:08 19_20_Aircraft10.jpg
-rw------- 1 me me 114455 2007-09-25 23:15:26 19_20_Aircraft11.jpg
-rw------- 1 me me 139353 2007-09-25 23:13:45 19_20_Aircraft12.jpg
-rw------- 1 me me  85438 2007-09-25 23:15:57 19_20_Aircraft6.jpg

--
Dissent is patriotic, remember?


Reply to: