Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

videoed

macrumors regular
Original poster
Mar 1, 2009
107
0
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
 

LPZ

macrumors 65816
Jul 11, 2006
1,221
2
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

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.
 

olofeinarsson

macrumors newbie
Dec 10, 2011
1
0
Doesn't really answer the question...

This terminal command is to see Last modified-date. Is there a command to the actual creation date?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.