"File Created" timestamp, possible to find the second?

Discussion in 'macOS' started by videoed, Oct 7, 2010.

  1. videoed macrumors regular

    Joined:
    Mar 1, 2009
    #1
    Hello,

    I am trying to find a way to get the exact second that a file was "created"

    In the finder window, I can get the date and time of creation, but so far haven't found the exact second.

    Would maybe some wizardry inside the terminal be able to illuminate this information?

    Hoping for an easier way!

    Thanks,

    ed
     
  2. LPZ macrumors 65816

    Joined:
    Jul 11, 2006
    #2
    Open Terminal (in Utilities). Type the following, but don't press return. Include a space or two after the closing ":

    Code:
    stat -f "%SB"    
    Drag the icon of the file in question and drop it in the Terminal window. Then click on the Terminal window to make it active and press return. You should get the creation time of the file.
     
  3. videoed thread starter macrumors regular

    Joined:
    Mar 1, 2009
  4. olofeinarsson macrumors newbie

    Joined:
    Dec 10, 2011
    #4
    Doesn't really answer the question...

    This terminal command is to see Last modified-date. Is there a command to the actual creation date?
     

Share This Page