Date Added Attribute?

  • I have read about that new "date added" attribute in Lion in the Finder and I tried to get more information about it but I must not be good at formulating my Google queries correctly, I only get vaguely related results. I also did a search in the doc for "date added" and "extended attributes" but didn't find anything that would answer my question: how to retrieve this "date added" values for files in the file system?

    Thanks in advance!

    -Laurent.
    --
    Laurent Daudelin
    AIM/iChat/Skype:LaurentDaudelin                 http://www.nemesys-soft.com/
    Logiciels Nemesys Software                    <laurent...>
  • On Jun 5, 2012, at 12:39 PM, Laurent Daudelin wrote:

    > I have read about that new "date added" attribute in Lion in the Finder and I tried to get more information about it but I must not be good at formulating my Google queries correctly, I only get vaguely related results. I also did a search in the doc for "date added" and "extended attributes" but didn't find anything that would answer my question: how to retrieve this "date added" values for files in the file system?

    I don’t think there’s an NSURL key for that one yet, so the only way I know of to get it would be to use ATTR_CMN_ADDEDTIME with getattrlist.

    Charles
previous month june 2012 next month
MTWTFSS
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30  
Go to today