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

Re: File systems' timestamps apparently formatted in a wrong way ...



On Sun, 02 Jan 2011 12:41:38 +0000, Albretch Mueller wrote:

> ~
>  ... or ls not properly displaying them in some cases.
> ~
>  I got this compressed file that seems to be the metadata snapshot of
> a file system you get by running:
> ~
>  ls -lR
> ~
>  but not all timestamps are formatted the same. You get them as, say,
> "Mar 24 2004", but also as "Dec 26 09:55" (without the year!) and they
> are (or seem to be) files in the same directory ~
>  Why would that be?

I get the same:

sm01@stt008:~/Documentos/dsc-fotos/2010/sony$ ls -lR | tail
-rwxr--r-- 1 sm01 sm01 533809 ago 21 18:12 DSC02335.JPG
-rwxr--r-- 1 sm01 sm01 484485 ago 21 18:12 DSC02336.JPG
-rwxr--r-- 1 sm01 sm01 517789 ago 21 18:14 DSC02338.JPG
-rwxr--r-- 1 sm01 sm01 495196 ago 21 18:15 DSC02339.JPG
-rwxr--r-- 1 sm01 sm01 541253 ago 28 13:00 DSC02340.JPG
-rwxr--r-- 1 sm01 sm01 538118 ago 28 13:00 DSC02341.JPG
-rwxr--r-- 1 sm01 sm01 558677 ago 28 13:01 DSC02342.JPG
-rwxr--r-- 1 sm01 sm01 546987 ago 28 13:01 DSC02343.JPG
-rwxr--r-- 1 sm01 sm01 543089 ago 28 13:01 DSC02344.JPG
-rwxr--r-- 1 sm01 sm01 527500 sep 12 21:00 DSC02347.JPG

If you need accuracy, better use "--full-time" parameter.

sm01@stt008:~/Documentos/dsc-fotos/2010/sony$ ls -l --full-time |tail
-rwxr--r-- 1 sm01 sm01 533809 2010-08-21 18:12:16.000000000 +0200 DSC02335.JPG
-rwxr--r-- 1 sm01 sm01 484485 2010-08-21 18:12:36.000000000 +0200 DSC02336.JPG
-rwxr--r-- 1 sm01 sm01 517789 2010-08-21 18:14:54.000000000 +0200 DSC02338.JPG
-rwxr--r-- 1 sm01 sm01 495196 2010-08-21 18:15:08.000000000 +0200 DSC02339.JPG
-rwxr--r-- 1 sm01 sm01 541253 2010-08-28 13:00:38.000000000 +0200 DSC02340.JPG
-rwxr--r-- 1 sm01 sm01 538118 2010-08-28 13:00:52.000000000 +0200 DSC02341.JPG
-rwxr--r-- 1 sm01 sm01 558677 2010-08-28 13:01:14.000000000 +0200 DSC02342.JPG
-rwxr--r-- 1 sm01 sm01 546987 2010-08-28 13:01:28.000000000 +0200 DSC02343.JPG
-rwxr--r-- 1 sm01 sm01 543089 2010-08-28 13:01:52.000000000 +0200 DSC02344.JPG
-rwxr--r-- 1 sm01 sm01 527500 2010-09-12 21:00:20.000000000 +0200 DSC02347.JPG

Greetings,

-- 
Camaleón


Reply to: